Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001078/0.001078, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001127/0.001127, allocations: 197.7 kB / 16.26 MB, free: 6.625 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.26/1.26, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6184/0.6199, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03533/0.6552, allocations: 37.25 MB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.6753, allocations: 12.94 MB / 1.066 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/0.6798, allocations: 155.1 kB / 1.066 GB, free: 168 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008375/0.6882, allocations: 3.62 MB / 1.07 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006728/0.6949, allocations: 2.298 MB / 1.072 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.7013, allocations: 2.493 MB / 1.074 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.7133, allocations: 9.598 MB / 1.084 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0192/0.7325, allocations: 12.75 MB / 1.096 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006979/0.7395, allocations: 4.061 MB / 1.1 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007931/0.7475, allocations: 4.58 MB / 1.105 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002579/0.7501, allocations: 0.7695 MB / 1.105 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.7552, allocations: 1.783 MB / 1.107 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.7599, allocations: 3.04 MB / 1.11 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006953/0.7669, allocations: 3.579 MB / 1.114 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.781, allocations: 11.88 MB / 1.125 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7811, allocations: 0 / 1.125 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7811, allocations: 0 / 1.125 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004106/0.7815, allocations: 0 / 1.125 GB, free: 3.453 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01736/0.7989, allocations: 6.354 MB / 1.131 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.7989, allocations: 8.031 kB / 1.131 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/0.8003, allocations: 0.7441 MB / 1.132 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007848/0.8082, allocations: 1.301 MB / 1.133 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/0.815, allocations: 3.568 MB / 1.137 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.8153, allocations: 382.5 kB / 1.137 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.8165, allocations: 0.4963 MB / 1.138 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/0.8315, allocations: 8.898 MB / 1.146 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001641/0.8316, allocations: 31.72 kB / 1.146 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007566/0.8324, allocations: 219.9 kB / 1.147 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002034/0.8344, allocations: 0.6265 MB / 1.147 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.8465, allocations: 7.014 MB / 1.154 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04722/0.8937, allocations: 40.33 MB / 1.193 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.8977, allocations: 2.895 MB / 1.196 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/0.9012, allocations: 2.667 MB / 1.199 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.9015, allocations: 26.09 kB / 1.199 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.9016, allocations: 68.59 kB / 1.199 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=265): time 5.1e-06/0.9016, allocations: 0 / 1.199 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of matching and sorting (n=424): time 0.7984/1.7, allocations: 74.71 MB / 1.272 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.7, allocations: 98.61 kB / 1.272 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/1.703, allocations: 2.359 MB / 1.274 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005855/1.703, allocations: 97.36 kB / 1.274 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009613/1.704, allocations: 2.338 MB / 1.277 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.705, allocations: 1.434 MB / 1.278 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/1.707, allocations: 0.7258 MB / 1.279 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.818e-05/1.707, allocations: 301.1 kB / 1.279 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/1.71, allocations: 3.004 MB / 1.282 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/1.713, allocations: 3.839 MB / 1.286 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007504/1.721, allocations: 7.39 MB / 1.293 GB, free: 192 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/1.721, allocations: 3.812 kB / 1.293 GB, free: 192 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02354/1.745, allocations: 12.56 MB / 1.305 GB, free: 184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/1.745, allocations: 20.19 kB / 1.305 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.745, allocations: 24 kB / 1.305 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0191/1.764, allocations: 6.075 MB / 1.311 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.766, allocations: 494.8 kB / 1.312 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06449/1.83, allocations: 73.05 MB / 1.383 GB, free: 101 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/1.834, allocations: 215.8 kB / 1.383 GB, free: 100.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/1.835, allocations: 152 kB / 1.383 GB, free: 100.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002888/1.837, allocations: 1.988 MB / 1.385 GB, free: 98.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/1.838, allocations: 395.3 kB / 1.386 GB, free: 98.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02357/1.862, allocations: 12.23 MB / 1.398 GB, free: 85.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/1.862, allocations: 40.19 kB / 1.398 GB, free: 85.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001038/1.862, allocations: 48 kB / 1.398 GB, free: 85.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/1.862, allocations: 27.86 kB / 1.398 GB, free: 85.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03506/1.897, allocations: 19.14 MB / 1.416 GB, free: 66.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/1.897, allocations: 8 kB / 1.416 GB, free: 66.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.899, allocations: 287.5 kB / 1.417 GB, free: 66.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01797/1.917, allocations: 5.622 MB / 1.422 GB, free: 60.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005708/1.917, allocations: 83.98 kB / 1.422 GB, free: 60.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06418/1.981, allocations: 70.66 MB / 1.491 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.981, allocations: 11.94 kB / 1.491 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02989/2.011, allocations: 15.61 MB / 1.507 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/2.014, allocations: 1.047 MB / 1.508 GB, free: 1.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006751/2.014, allocations: 80 kB / 1.508 GB, free: 1.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/2.017, allocations: 227.7 kB / 1.508 GB, free: 1.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/2.018, allocations: 402.2 kB / 1.508 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/2.018, allocations: 108 kB / 1.508 GB, free: 0.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001946/2.02, allocations: 1.553 MB / 1.51 GB, free: 15.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/2.02, allocations: 0 / 1.51 GB, free: 15.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005414/2.026, allocations: 1.863 MB / 1.512 GB, free: 13.34 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02917/2.055, allocations: 16.3 MB / 1.528 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.02612/2.081, allocations: 14.97 MB / 1.542 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/2.081, allocations: 0 / 1.542 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0143/2.095, allocations: 8.368 MB / 1.55 GB, free: 4.871 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/2.101, allocations: 1.194 MB / 1.552 GB, free: 3.715 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1124/2.214, allocations: 62.7 MB / 1.613 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005496/2.219, allocations: 4.086 MB / 1.617 GB, free: 12.77 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002553/2.222, allocations: 0.6747 MB / 1.617 GB, free: 12.09 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/2.224, allocations: 2.124 MB / 1.62 GB, free: 9.961 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/2.224, allocations: 4 kB / 1.62 GB, free: 9.957 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7167/2.941, allocations: 152.2 MB / 1.768 GB, free: 398.5 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/2.941, allocations: 250.6 kB / 1.768 GB, free: 398.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.186/8.127, allocations: 2.5 kB / 1.768 GB, free: 398.3 MB / 1.232 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches