Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_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.00122/0.00122, allocations: 108 kB / 15.61 MB, free: 152 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.001149/0.00115, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.251/2.251, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5535, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01043/0.564, allocations: 11.09 MB / 0.9606 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008501/0.5725, allocations: 5.792 MB / 0.9662 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.5734, allocations: 50.19 kB / 0.9663 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.5773, allocations: 1.724 MB / 0.9679 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.5797, allocations: 1.148 MB / 0.9691 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.5815, allocations: 0.8123 MB / 0.9699 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.5835, allocations: 2.116 MB / 0.9719 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.5849, allocations: 1.318 MB / 0.9732 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.5858, allocations: 0.8459 MB / 0.974 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009509/0.5867, allocations: 0.9016 MB / 0.9749 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.5869, allocations: 114.7 kB / 0.975 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.5889, allocations: 1.189 MB / 0.9762 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004786/0.5894, allocations: 0.5191 MB / 0.9767 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.5902, allocations: 0.7883 MB / 0.9775 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.5931, allocations: 2.392 MB / 0.9798 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5931, allocations: 0 / 0.9798 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5931, allocations: 3.984 kB / 0.9798 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.907e-05/0.5931, allocations: 0 / 0.9798 GB, free: 2.961 MB / 0.7325 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.002862/0.596, allocations: 1.864 MB / 0.9816 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.596, allocations: 8.031 kB / 0.9816 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.5963, allocations: 215.4 kB / 0.9818 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.6008, allocations: 0.6737 MB / 0.9825 GB, free: 136 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.6026, allocations: 0.9068 MB / 0.9834 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.6027, allocations: 98.89 kB / 0.9835 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.6029, allocations: 120.4 kB / 0.9836 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/0.6061, allocations: 2.214 MB / 0.9858 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.6062, allocations: 15.84 kB / 0.9858 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.6063, allocations: 59.97 kB / 0.9858 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/0.6065, allocations: 162.3 kB / 0.986 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.6093, allocations: 1.867 MB / 0.9878 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.6201, allocations: 12.48 MB / 1 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.6243, allocations: 1.96 MB / 1.002 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.6252, allocations: 0.6089 MB / 1.003 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.6254, allocations: 106.1 kB / 1.003 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.6254, allocations: 43.5 kB / 1.003 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 3.616e-06/0.6254, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.005873/0.6313, allocations: 3.702 MB / 1.006 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.6314, allocations: 64.41 kB / 1.006 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.6324, allocations: 0.9243 MB / 1.007 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.6325, allocations: 41.7 kB / 1.007 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.6329, allocations: 0.7354 MB / 1.008 GB, free: 4.555 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.6332, allocations: 382.5 kB / 1.008 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.6336, allocations: 287.2 kB / 1.009 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.6337, allocations: 301.1 kB / 1.009 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.6345, allocations: 0.6167 MB / 1.01 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.6357, allocations: 1.117 MB / 1.011 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.6378, allocations: 1.824 MB / 1.012 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.6378, allocations: 8 kB / 1.012 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003166/0.641, allocations: 2.1 MB / 1.014 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.641, allocations: 12 kB / 1.014 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.641, allocations: 16 kB / 1.014 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007689/0.6418, allocations: 263 kB / 1.015 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.6431, allocations: 371.4 kB / 1.015 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007935/0.651, allocations: 11.59 MB / 1.026 GB, free: 72 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.6524, allocations: 127.8 kB / 1.027 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.6526, allocations: 76.11 kB / 1.027 GB, free: 15.87 MB / 0.795 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.0007677/0.6534, allocations: 405.2 kB / 1.027 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.6537, allocations: 130.4 kB / 1.027 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.6565, allocations: 1.681 MB / 1.029 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6566, allocations: 16 kB / 1.029 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.6566, allocations: 4 kB / 1.029 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6566, allocations: 3.984 kB / 1.029 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/0.6614, allocations: 3.283 MB / 1.032 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.6615, allocations: 12 kB / 1.032 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/0.6623, allocations: 224.3 kB / 1.032 GB, free: 9.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007029/0.6631, allocations: 242.6 kB / 1.032 GB, free: 9.676 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.6631, allocations: 35.92 kB / 1.032 GB, free: 9.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008154/0.6713, allocations: 11.56 MB / 1.044 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.6714, allocations: 4 kB / 1.044 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.6741, allocations: 1.799 MB / 1.046 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.6747, allocations: 315.3 kB / 1.046 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.6749, allocations: 28 kB / 1.046 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/0.6757, allocations: 87.88 kB / 1.046 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.6759, allocations: 100.7 kB / 1.046 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.6759, allocations: 35.98 kB / 1.046 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008331/0.6768, allocations: 0.6177 MB / 1.047 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6768, allocations: 0 / 1.047 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001501/0.6783, allocations: 396 kB / 1.047 GB, free: 9.469 MB / 0.8106 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.002886/0.6812, allocations: 2.4 MB / 1.049 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004343/0.6856, allocations: 2.871 MB / 1.052 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.6856, allocations: 0 / 1.052 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.6878, allocations: 1.634 MB / 1.054 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.69, allocations: 351.9 kB / 1.054 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.7063, allocations: 12.02 MB / 1.066 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/0.7073, allocations: 1.323 MB / 1.067 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001067/0.7083, allocations: 359.3 kB / 1.067 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.709, allocations: 0.5383 MB / 1.068 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.709, allocations: 0 / 1.068 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09713/0.8062, allocations: 27.89 MB / 1.095 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.515/10.32, allocations: 6.656 kB / 1.095 GB, free: 7.164 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches