Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009424/0.009424, allocations: 100.9 kB / 15.73 MB, free: 5.98 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.001965/0.001965, allocations: 200.6 kB / 16.68 MB, free: 5.906 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8892, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04718/0.9365, allocations: 37.6 MB / 1.124 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02604/0.9625, allocations: 13.04 MB / 1.137 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005321/0.9679, allocations: 171.6 kB / 1.137 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/0.9796, allocations: 3.882 MB / 1.141 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.992, allocations: 2.49 MB / 1.143 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.003, allocations: 2.7 MB / 1.146 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01769/1.02, allocations: 9.579 MB / 1.155 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02238/1.043, allocations: 10.5 MB / 1.166 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/1.054, allocations: 4.071 MB / 1.17 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/1.065, allocations: 4.372 MB / 1.174 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.005296/1.071, allocations: 0.7694 MB / 1.175 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008559/1.079, allocations: 1.785 MB / 1.176 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.007038/1.086, allocations: 3.038 MB / 1.179 GB, free: 13.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01361/1.1, allocations: 3.579 MB / 1.183 GB, free: 10.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02112/1.121, allocations: 11.86 MB / 1.194 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/1.121, allocations: 0 / 1.194 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/1.121, allocations: 0 / 1.194 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004646/1.122, allocations: 0 / 1.194 GB, free: 0.6211 MB / 0.92 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.02784/1.15, allocations: 6.354 MB / 1.201 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/1.15, allocations: 8.031 kB / 1.201 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002823/1.152, allocations: 0.7518 MB / 1.201 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/1.163, allocations: 1.301 MB / 1.203 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009443/1.172, allocations: 3.783 MB / 1.206 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004238/1.173, allocations: 386.5 kB / 1.207 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/1.175, allocations: 0.5001 MB / 1.207 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02808/1.203, allocations: 8.878 MB / 1.216 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004333/1.204, allocations: 31.77 kB / 1.216 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002869/1.206, allocations: 223.9 kB / 1.216 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002543/1.209, allocations: 0.6265 MB / 1.217 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.225, allocations: 7.018 MB / 1.223 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05948/1.284, allocations: 40.05 MB / 1.263 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/1.289, allocations: 2.894 MB / 1.265 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004154/1.293, allocations: 2.678 MB / 1.268 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/1.294, allocations: 34.03 kB / 1.268 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/1.294, allocations: 68.59 kB / 1.268 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 4.678e-06/1.294, allocations: 0 / 1.268 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.3022/1.596, allocations: 74.67 MB / 1.341 GB, free: 5.906 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/1.596, allocations: 94.73 kB / 1.341 GB, free: 5.801 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/1.599, allocations: 2.363 MB / 1.343 GB, free: 3.426 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0009555/1.6, allocations: 97.7 kB / 1.344 GB, free: 3.324 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.602, allocations: 2.341 MB / 1.346 GB, free: 0.957 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001654/1.604, allocations: 1.432 MB / 1.347 GB, free: 15.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/1.605, allocations: 0.7254 MB / 1.348 GB, free: 14.77 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/1.605, allocations: 305.1 kB / 1.348 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004292/1.609, allocations: 2.999 MB / 1.351 GB, free: 11.46 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/1.614, allocations: 3.847 MB / 1.355 GB, free: 7.273 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009941/1.624, allocations: 7.384 MB / 1.362 GB, free: 15.57 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.624, allocations: 11.94 kB / 1.362 GB, free: 15.55 MB / 1.107 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02971/1.654, allocations: 12.55 MB / 1.374 GB, free: 2.898 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/1.654, allocations: 16 kB / 1.374 GB, free: 2.883 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/1.654, allocations: 23.94 kB / 1.374 GB, free: 2.859 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/1.677, allocations: 6.028 MB / 1.38 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/1.679, allocations: 499.1 kB / 1.381 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08456/1.764, allocations: 72.99 MB / 1.452 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004288/1.768, allocations: 215.8 kB / 1.452 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/1.769, allocations: 156 kB / 1.452 GB, free: 15.58 MB / 1.201 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.003491/1.772, allocations: 1.992 MB / 1.454 GB, free: 13.58 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008499/1.773, allocations: 391.4 kB / 1.455 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0268/1.8, allocations: 12.23 MB / 1.467 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-05/1.8, allocations: 43.94 kB / 1.467 GB, free: 0.793 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001124/1.8, allocations: 48 kB / 1.467 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.653e-05/1.8, allocations: 19.92 kB / 1.467 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/1.839, allocations: 19.14 MB / 1.486 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/1.839, allocations: 8 kB / 1.486 GB, free: 13.31 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.84, allocations: 283.6 kB / 1.486 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02058/1.861, allocations: 5.578 MB / 1.491 GB, free: 7.387 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000606/1.861, allocations: 87.98 kB / 1.491 GB, free: 7.301 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07942/1.941, allocations: 70.62 MB / 1.56 GB, free: 13.34 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.941, allocations: 8 kB / 1.56 GB, free: 13.33 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.628/2.569, allocations: 15.61 MB / 1.576 GB, free: 406.5 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00341/2.572, allocations: 1.042 MB / 1.577 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/2.573, allocations: 83.83 kB / 1.577 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/2.577, allocations: 216.2 kB / 1.577 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001888/2.579, allocations: 410.2 kB / 1.577 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003978/2.579, allocations: 106.4 kB / 1.577 GB, free: 406.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.003225/2.582, allocations: 1.558 MB / 1.579 GB, free: 406.3 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.084e-06/2.582, allocations: 0 / 1.579 GB, free: 406.3 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.008922/2.591, allocations: 1.863 MB / 1.581 GB, free: 406.3 MB / 1.311 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.03422/2.625, allocations: 16.29 MB / 1.597 GB, free: 404.4 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02289/2.648, allocations: 12.19 MB / 1.608 GB, free: 397.9 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/2.648, allocations: 2.344 kB / 1.608 GB, free: 397.9 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01537/2.664, allocations: 8.356 MB / 1.617 GB, free: 393.1 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006474/2.67, allocations: 1.194 MB / 1.618 GB, free: 392.7 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/2.782, allocations: 53.88 MB / 1.67 GB, free: 368.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005323/2.788, allocations: 4.088 MB / 1.674 GB, free: 367.1 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002575/2.79, allocations: 0.6642 MB / 1.675 GB, free: 367 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/2.792, allocations: 2.135 MB / 1.677 GB, free: 365.2 MB / 1.311 GB Notification: Performance of SimCode: time 1.112e-06/2.792, allocations: 0 / 1.677 GB, free: 365.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.235/3.028, allocations: 153.7 MB / 1.827 GB, free: 220.9 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/21.61, allocations: 17.94 kB / 1.827 GB, free: 220.9 MB / 1.311 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches