Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.0007595/0.0007596, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004841/0.004841, allocations: 169 kB / 16.26 MB, free: 6.613 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.58/2.58, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004774, allocations: 12.88 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02008/0.3064, allocations: 19.64 MB / 1.078 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.3182, allocations: 7.662 MB / 1.085 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.3199, allocations: 51.81 kB / 1.085 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.3211, allocations: 369.3 kB / 1.086 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.3236, allocations: 0.938 MB / 1.087 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.3269, allocations: 1.312 MB / 1.088 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006678/0.3336, allocations: 6.437 MB / 1.094 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.3447, allocations: 7.523 MB / 1.102 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.3468, allocations: 1.257 MB / 1.103 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.3496, allocations: 1.884 MB / 1.105 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005724/0.3502, allocations: 176 kB / 1.105 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.352, allocations: 0.8578 MB / 1.106 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.3536, allocations: 1.333 MB / 1.107 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.3556, allocations: 1.378 MB / 1.108 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.3612, allocations: 5.888 MB / 1.114 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3612, allocations: 0 / 1.114 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3612, allocations: 3.938 kB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001553/0.3614, allocations: 0 / 1.114 GB, free: 11.91 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005246/0.3666, allocations: 2.447 MB / 1.117 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3667, allocations: 11.97 kB / 1.117 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001119/0.3678, allocations: 449.9 kB / 1.117 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/0.3717, allocations: 0.7507 MB / 1.118 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.3743, allocations: 1.54 MB / 1.119 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.3745, allocations: 214.2 kB / 1.119 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007062/0.3752, allocations: 296.2 kB / 1.12 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008873/0.3841, allocations: 5.086 MB / 1.125 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-05/0.3842, allocations: 7.938 kB / 1.125 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004518/0.3847, allocations: 120 kB / 1.125 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.3849, allocations: 208.6 kB / 1.125 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007582/0.3925, allocations: 4.235 MB / 1.129 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.4158, allocations: 23.08 MB / 1.152 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.4185, allocations: 1.746 MB / 1.153 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.42, allocations: 1.134 MB / 1.154 GB, free: 100 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.4202, allocations: 101.7 kB / 1.155 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4202, allocations: 43.22 kB / 1.155 GB, free: 15.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 2.435e-06/0.4202, allocations: 0 / 1.155 GB, free: 15.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.005633/0.4259, allocations: 4.028 MB / 1.159 GB, free: 11.87 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.4259, allocations: 145.1 kB / 1.159 GB, free: 11.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.427, allocations: 0.8642 MB / 1.16 GB, free: 10.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.4271, allocations: 45.64 kB / 1.16 GB, free: 10.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/0.4277, allocations: 1.162 MB / 1.161 GB, free: 9.594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.428, allocations: 311.7 kB / 1.161 GB, free: 9.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.4282, allocations: 101.7 kB / 1.161 GB, free: 9.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4283, allocations: 410.7 kB / 1.162 GB, free: 8.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4296, allocations: 0.8223 MB / 1.162 GB, free: 7.945 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.4311, allocations: 1.31 MB / 1.164 GB, free: 6.414 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.4339, allocations: 2.171 MB / 1.166 GB, free: 4.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.4339, allocations: 4 kB / 1.166 GB, free: 4.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003383/0.4373, allocations: 2.23 MB / 1.168 GB, free: 1.809 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.4376, allocations: 0.4949 MB / 1.168 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.4376, allocations: 12 kB / 1.168 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.4377, allocations: 24 kB / 1.168 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.4393, allocations: 423.3 kB / 1.169 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.255e-05/0.4393, allocations: 31.86 kB / 1.169 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4407, allocations: 215.2 kB / 1.169 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4408, allocations: 67.98 kB / 1.169 GB, free: 364 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.4408, allocations: 4.094 kB / 1.169 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002745/0.4435, allocations: 1.815 MB / 1.171 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.4436, allocations: 12.14 kB / 1.171 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4436, allocations: 20.91 kB / 1.171 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.4449, allocations: 371.4 kB / 1.171 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.932e-05/0.4449, allocations: 31.86 kB / 1.171 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009702/0.4459, allocations: 159.4 kB / 1.171 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.446, allocations: 60 kB / 1.172 GB, free: 13.9 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001554/0.4476, allocations: 1.172 MB / 1.173 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.4478, allocations: 106.8 kB / 1.173 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/0.4507, allocations: 1.854 MB / 1.175 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.4507, allocations: 19.98 kB / 1.175 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4507, allocations: 0 / 1.175 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4507, allocations: 3.984 kB / 1.175 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.4627, allocations: 9.6 MB / 1.184 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.4627, allocations: 12 kB / 1.184 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.4639, allocations: 315.4 kB / 1.184 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.4639, allocations: 19.94 kB / 1.184 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.464, allocations: 28 kB / 1.184 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.163e-05/0.464, allocations: 28.27 kB / 1.184 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.464, allocations: 23.88 kB / 1.184 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.4666, allocations: 2.409 MB / 1.187 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.4672, allocations: 383.6 kB / 1.187 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.4673, allocations: 31.98 kB / 1.187 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009999/0.4684, allocations: 143.8 kB / 1.187 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.4685, allocations: 95.61 kB / 1.187 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/0.4686, allocations: 36 kB / 1.187 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008484/0.4695, allocations: 0.6122 MB / 1.188 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4695, allocations: 0 / 1.188 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002283/0.4718, allocations: 0.7539 MB / 1.189 GB, free: 11.82 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 simulation (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002967/0.4747, allocations: 2.997 MB / 1.192 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004156/0.4789, allocations: 2.886 MB / 1.194 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.4789, allocations: 8.062 kB / 1.194 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.4802, allocations: 0.908 MB / 1.195 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.4831, allocations: 294.9 kB / 1.196 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.5051, allocations: 16.92 MB / 1.212 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002149/0.5073, allocations: 2.127 MB / 1.214 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001906/0.5092, allocations: 0.7462 MB / 1.215 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.5104, allocations: 0.8272 MB / 1.216 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.5104, allocations: 0 / 1.216 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.937/2.447, allocations: 30.97 MB / 1.246 GB, free: 400 kB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/2.447, allocations: 226.4 kB / 1.246 GB, free: 140 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/5.124, allocations: 1.406 kB / 1.246 GB, free: 140 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches