Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007038/0.007038, allocations: 95.92 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 202.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.648/2.648, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 59.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2855, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007363/0.2929, allocations: 5.548 MB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00431/0.2973, allocations: 2.646 MB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.2976, allocations: 19.88 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.2993, allocations: 0.6728 MB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008691/0.3002, allocations: 417.7 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009062/0.3011, allocations: 415 kB / 1.23 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.3022, allocations: 0.9552 MB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006442/0.3029, allocations: 470.5 kB / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.3033, allocations: 366.6 kB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.3039, allocations: 402.4 kB / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.289e-05/0.304, allocations: 48 kB / 1.232 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006237/0.3046, allocations: 367.2 kB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.3048, allocations: 247.3 kB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.3052, allocations: 350.3 kB / 1.233 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.3063, allocations: 0.9805 MB / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3063, allocations: 0 / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3063, allocations: 0 / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3063, allocations: 0 / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001547/0.3079, allocations: 0.9962 MB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3079, allocations: 8.031 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.3081, allocations: 98.69 kB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.3094, allocations: 204.2 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.3102, allocations: 0.5262 MB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.3102, allocations: 41.36 kB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.3104, allocations: 52.56 kB / 1.236 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3116, allocations: 0.8355 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3116, allocations: 4 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.3117, allocations: 19.98 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3119, allocations: 72.94 kB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.3128, allocations: 0.5735 MB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/0.3174, allocations: 4.574 MB / 1.241 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.3179, allocations: 295.2 kB / 1.242 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.3182, allocations: 233.2 kB / 1.242 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.3183, allocations: 8.281 kB / 1.242 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3183, allocations: 34.78 kB / 1.242 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.3183, allocations: 0 / 1.242 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005649/0.324, allocations: 2.647 MB / 1.245 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.324, allocations: 59.39 kB / 1.245 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.3246, allocations: 466 kB / 1.245 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.3246, allocations: 37.7 kB / 1.245 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.3249, allocations: 348.5 kB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.325, allocations: 150.7 kB / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.3252, allocations: 110.2 kB / 1.246 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3253, allocations: 358.8 kB / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.3257, allocations: 237 kB / 1.246 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.3262, allocations: 410.4 kB / 1.247 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.3272, allocations: 0.6779 MB / 1.247 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3272, allocations: 0 / 1.247 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001684/0.3289, allocations: 0.925 MB / 1.248 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3289, allocations: 8 kB / 1.248 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3289, allocations: 4.656 kB / 1.248 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007751/0.3297, allocations: 222.4 kB / 1.248 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.3302, allocations: 115.8 kB / 1.249 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.48/0.8102, allocations: 5.338 MB / 1.254 GB, free: 25.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.8107, allocations: 33.23 kB / 1.254 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.8108, allocations: 30.64 kB / 1.254 GB, free: 25.46 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.8111, allocations: 219.1 kB / 1.254 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.8112, allocations: 59.98 kB / 1.254 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.8126, allocations: 0.7796 MB / 1.255 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8126, allocations: 9.938 kB / 1.255 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8126, allocations: 3.297 kB / 1.255 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8126, allocations: 1.875 kB / 1.255 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.8147, allocations: 1.501 MB / 1.256 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.8148, allocations: 2.438 kB / 1.256 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.8151, allocations: 70.11 kB / 1.256 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000625/0.8158, allocations: 213.1 kB / 1.257 GB, free: 24.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.8158, allocations: 12.5 kB / 1.257 GB, free: 24.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/0.8193, allocations: 5.271 MB / 1.262 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8193, allocations: 0 / 1.262 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.8207, allocations: 1.135 MB / 1.263 GB, free: 20.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.8209, allocations: 171.5 kB / 1.263 GB, free: 20.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.821, allocations: 13.05 kB / 1.263 GB, free: 20.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.8213, allocations: 23.48 kB / 1.263 GB, free: 20.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.8214, allocations: 45.91 kB / 1.263 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.8214, allocations: 12.17 kB / 1.263 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000276/0.8217, allocations: 313.6 kB / 1.263 GB, free: 20.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8217, allocations: 2.594 kB / 1.263 GB, free: 20.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000581/0.8223, allocations: 166 kB / 1.264 GB, free: 20.31 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001598/0.8239, allocations: 1.691 MB / 1.265 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.8252, allocations: 1.014 MB / 1.266 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8252, allocations: 5.562 kB / 1.266 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/0.826, allocations: 0.6823 MB / 1.267 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.8268, allocations: 188.6 kB / 1.267 GB, free: 18.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.8334, allocations: 5.654 MB / 1.273 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.8338, allocations: 0.9487 MB / 1.274 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003236/0.8341, allocations: 113.8 kB / 1.274 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.8343, allocations: 212.1 kB / 1.274 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/0.8343, allocations: 0 / 1.274 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.733/2.568, allocations: 14.21 MB / 1.288 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.62/23.18, allocations: 12.22 kB / 1.288 GB, free: 13.8 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches