Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001387/0.001387, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.508/2.508, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.72 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3053, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02952/0.3349, allocations: 26.66 MB / 1.079 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.3481, allocations: 8.075 MB / 1.087 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.3503, allocations: 119.4 kB / 1.087 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006998/0.3574, allocations: 2.764 MB / 1.09 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.3619, allocations: 1.582 MB / 1.091 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.3662, allocations: 1.677 MB / 1.093 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007241/0.3734, allocations: 6.146 MB / 1.099 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009735/0.3832, allocations: 7.41 MB / 1.106 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.3875, allocations: 2.559 MB / 1.109 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004604/0.3922, allocations: 2.842 MB / 1.111 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.3936, allocations: 0.5078 MB / 1.112 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.3968, allocations: 1.276 MB / 1.113 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003039/0.3999, allocations: 2.054 MB / 1.115 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004447/0.4043, allocations: 2.381 MB / 1.117 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008602/0.4129, allocations: 8.005 MB / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.413, allocations: 0 / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.774e-06/0.413, allocations: 0 / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002224/0.4132, allocations: 0 / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01001/0.4232, allocations: 4.232 MB / 1.129 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4233, allocations: 8.625 kB / 1.129 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008406/0.4241, allocations: 0.5343 MB / 1.13 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.4283, allocations: 0.8001 MB / 1.131 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.4323, allocations: 2.428 MB / 1.133 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.4325, allocations: 275.6 kB / 1.133 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006902/0.4332, allocations: 372.4 kB / 1.134 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009075/0.4423, allocations: 5.996 MB / 1.14 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.972e-05/0.4424, allocations: 19.88 kB / 1.14 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.4428, allocations: 160 kB / 1.14 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006129/0.4434, allocations: 286.9 kB / 1.14 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007099/0.4506, allocations: 4.516 MB / 1.144 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02571/0.4763, allocations: 27.66 MB / 1.171 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.4777, allocations: 1.124 MB / 1.172 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.4789, allocations: 1.015 MB / 1.173 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/0.479, allocations: 13 kB / 1.173 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.479, allocations: 47.56 kB / 1.174 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.865e-06/0.479, allocations: 0 / 1.174 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.02023/0.4993, allocations: 9.659 MB / 1.183 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.4994, allocations: 72.72 kB / 1.183 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.5015, allocations: 1.498 MB / 1.184 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.5016, allocations: 49.7 kB / 1.185 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.5028, allocations: 1.663 MB / 1.186 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/0.5033, allocations: 469.3 kB / 1.187 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006443/0.5039, allocations: 327.2 kB / 1.187 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5041, allocations: 305.1 kB / 1.187 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.5054, allocations: 0.9174 MB / 1.188 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.5071, allocations: 1.467 MB / 1.19 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003112/0.5102, allocations: 2.546 MB / 1.192 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/0.5102, allocations: 12 kB / 1.192 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005633/0.5159, allocations: 3.29 MB / 1.195 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.5159, allocations: 12 kB / 1.195 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.5159, allocations: 24.09 kB / 1.195 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.5182, allocations: 0.7373 MB / 1.196 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.5196, allocations: 383.4 kB / 1.196 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/0.535, allocations: 17.06 MB / 1.213 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5363, allocations: 95.91 kB / 1.213 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5365, allocations: 83.98 kB / 1.213 GB, free: 14.78 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.001999/0.5385, allocations: 1.311 MB / 1.214 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.5388, allocations: 197.8 kB / 1.215 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/0.5436, allocations: 2.792 MB / 1.217 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5436, allocations: 12 kB / 1.217 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.5436, allocations: 12 kB / 1.217 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5436, allocations: 3.984 kB / 1.217 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0094/0.553, allocations: 6.224 MB / 1.224 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.5531, allocations: 8 kB / 1.224 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5542, allocations: 227.6 kB / 1.224 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.5562, allocations: 0.6753 MB / 1.224 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.5563, allocations: 32 kB / 1.224 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/0.5722, allocations: 16.8 MB / 1.241 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5722, allocations: 8 kB / 1.241 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006119/0.5783, allocations: 4.008 MB / 1.245 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009333/0.5793, allocations: 446.7 kB / 1.245 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/0.5797, allocations: 43.92 kB / 1.245 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.5807, allocations: 83.89 kB / 1.245 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.581, allocations: 112.7 kB / 1.245 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.5811, allocations: 36 kB / 1.245 GB, free: 12.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00147/0.5826, allocations: 0.9942 MB / 1.246 GB, free: 11.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5826, allocations: 3.938 kB / 1.246 GB, free: 11.15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002484/0.5851, allocations: 0.6875 MB / 1.247 GB, free: 10.46 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.006451/0.5915, allocations: 4.599 MB / 1.252 GB, free: 5.734 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006278/0.5978, allocations: 4.104 MB / 1.256 GB, free: 1.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5978, allocations: 3.938 kB / 1.256 GB, free: 1.516 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.4472/1.045, allocations: 2.289 MB / 1.258 GB, free: 190.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/1.048, allocations: 0.6725 MB / 1.258 GB, free: 190.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03107/1.079, allocations: 22.71 MB / 1.281 GB, free: 182.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/1.082, allocations: 2.663 MB / 1.283 GB, free: 181.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00191/1.084, allocations: 489 kB / 1.284 GB, free: 181.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/1.085, allocations: 1.282 MB / 1.285 GB, free: 181.2 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/1.085, allocations: 0 / 1.285 GB, free: 181.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6618/1.747, allocations: 56.27 MB / 1.34 GB, free: 144.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/16.05, allocations: 15.23 kB / 1.34 GB, free: 144.3 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches