Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.001208/0.001208, 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.001432/0.001432, allocations: 198.2 kB / 16.25 MB, free: 6.621 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.764/1.764, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.691/4.691, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 63.27 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4579, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.02112/0.4791, allocations: 11.06 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.4929, allocations: 5.762 MB / 1.069 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.4947, allocations: 43.69 kB / 1.069 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00599/0.5007, allocations: 1.63 MB / 1.07 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.5057, allocations: 1.058 MB / 1.072 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.5095, allocations: 0.7394 MB / 1.072 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004238/0.5137, allocations: 2.131 MB / 1.074 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.5168, allocations: 1.505 MB / 1.076 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.5187, allocations: 0.8444 MB / 1.077 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.5204, allocations: 0.9455 MB / 1.078 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.5208, allocations: 119.9 kB / 1.078 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.5242, allocations: 1.177 MB / 1.079 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008782/0.5251, allocations: 0.5259 MB / 1.079 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.5265, allocations: 0.781 MB / 1.08 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005965/0.5325, allocations: 2.484 MB / 1.083 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.5326, allocations: 0 / 1.083 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5326, allocations: 0 / 1.083 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.12e-05/0.5326, allocations: 0 / 1.083 GB, free: 9.707 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005035/0.5377, allocations: 1.875 MB / 1.084 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.5378, allocations: 8.625 kB / 1.084 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003774/0.5381, allocations: 207.4 kB / 1.085 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008588/0.5468, allocations: 0.666 MB / 1.085 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.5498, allocations: 0.9184 MB / 1.086 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.55, allocations: 94.89 kB / 1.086 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/0.5503, allocations: 132.2 kB / 1.086 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.5556, allocations: 2.202 MB / 1.088 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.825e-05/0.5557, allocations: 23.81 kB / 1.088 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.5559, allocations: 55.97 kB / 1.089 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003321/0.5563, allocations: 166.3 kB / 1.089 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.5612, allocations: 1.863 MB / 1.091 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01973/0.5809, allocations: 12.47 MB / 1.103 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00721/0.5882, allocations: 1.97 MB / 1.105 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.5898, allocations: 0.6128 MB / 1.105 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.5901, allocations: 102 kB / 1.105 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.178e-05/0.5902, allocations: 51.5 kB / 1.105 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 6.793e-06/0.5902, allocations: 0 / 1.105 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.01025/0.6005, allocations: 3.71 MB / 1.109 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.6006, allocations: 68.41 kB / 1.109 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.6029, allocations: 0.9126 MB / 1.11 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.603, allocations: 45.7 kB / 1.11 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000816/0.6039, allocations: 0.7275 MB / 1.111 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005955/0.6045, allocations: 382.5 kB / 1.111 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007425/0.6052, allocations: 291.2 kB / 1.111 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.6054, allocations: 301.1 kB / 1.112 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.6071, allocations: 0.6129 MB / 1.112 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.6093, allocations: 1.106 MB / 1.113 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/0.6132, allocations: 1.835 MB / 1.115 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/0.6133, allocations: 4 kB / 1.115 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00614/0.6194, allocations: 2.099 MB / 1.117 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.6195, allocations: 13.25 kB / 1.117 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.025e-05/0.6196, allocations: 16.88 kB / 1.117 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.621, allocations: 266.6 kB / 1.117 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/0.6232, allocations: 375.3 kB / 1.118 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.6365, allocations: 11.6 MB / 1.129 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.6386, allocations: 123.8 kB / 1.129 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/0.6389, allocations: 71.98 kB / 1.129 GB, free: 6.609 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.6402, allocations: 406.8 kB / 1.13 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/0.6406, allocations: 130.4 kB / 1.13 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/0.6455, allocations: 1.677 MB / 1.131 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.6455, allocations: 12 kB / 1.131 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.6455, allocations: 4 kB / 1.131 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.6456, allocations: 7.969 kB / 1.131 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009397/0.655, allocations: 3.299 MB / 1.135 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.655, allocations: 8 kB / 1.135 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.6567, allocations: 219.6 kB / 1.135 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.658, allocations: 254.6 kB / 1.135 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.6581, allocations: 27.94 kB / 1.135 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/0.6722, allocations: 11.56 MB / 1.146 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/0.6723, allocations: 7.938 kB / 1.146 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005826/0.6781, allocations: 1.796 MB / 1.148 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.6793, allocations: 299.5 kB / 1.149 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/0.6798, allocations: 39.89 kB / 1.149 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.6814, allocations: 91.88 kB / 1.149 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/0.6818, allocations: 96.64 kB / 1.149 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.6819, allocations: 36 kB / 1.149 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001574/0.6835, allocations: 0.6177 MB / 1.149 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6836, allocations: 0 / 1.149 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002806/0.6864, allocations: 392 kB / 1.15 GB, free: 204 kB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005284/0.6917, allocations: 2.382 MB / 1.152 GB, free: 13.7 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007415/0.6991, allocations: 2.868 MB / 1.155 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.6992, allocations: 192 / 1.155 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/0.7026, allocations: 1.633 MB / 1.156 GB, free: 8.988 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/0.706, allocations: 358.4 kB / 1.157 GB, free: 8.645 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03066/0.7367, allocations: 12.6 MB / 1.169 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.7387, allocations: 1.331 MB / 1.17 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002126/0.7409, allocations: 359.3 kB / 1.171 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/0.7421, allocations: 0.5344 MB / 1.171 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of SimCode: time 1.423e-06/0.7422, allocations: 0 / 1.171 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/0.8571, allocations: 27.85 MB / 1.198 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/0.8576, allocations: 247.9 kB / 1.199 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.761/4.619, allocations: 7.938 kB / 1.199 GB, free: 13.13 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches