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.007501/0.007502, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001762/0.001762, allocations: 190 kB / 16.67 MB, free: 5.516 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.16/2.16, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7147, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01196/0.7267, allocations: 11.1 MB / 1.098 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.7369, allocations: 5.778 MB / 1.104 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.7384, allocations: 53.47 kB / 1.104 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005507/0.744, allocations: 1.734 MB / 1.106 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003984/0.748, allocations: 1.141 MB / 1.107 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.7507, allocations: 0.8055 MB / 1.108 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.754, allocations: 2.126 MB / 1.11 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.7562, allocations: 1.316 MB / 1.111 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.7581, allocations: 0.8447 MB / 1.112 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.7599, allocations: 0.9145 MB / 1.113 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004751/0.7604, allocations: 114.6 kB / 1.113 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.7635, allocations: 1.171 MB / 1.114 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009462/0.7645, allocations: 0.5274 MB / 1.114 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.7663, allocations: 0.7857 MB / 1.115 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005004/0.7713, allocations: 2.426 MB / 1.118 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7713, allocations: 0 / 1.118 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7713, allocations: 0 / 1.118 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.111e-05/0.7714, allocations: 1.312 kB / 1.118 GB, free: 3.414 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004857/0.7763, allocations: 1.87 MB / 1.119 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7763, allocations: 9.781 kB / 1.119 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004848/0.7768, allocations: 211.1 kB / 1.12 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.782, allocations: 0.6718 MB / 1.12 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.7844, allocations: 1.005 MB / 1.121 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.7845, allocations: 93.83 kB / 1.121 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003876/0.7849, allocations: 130.6 kB / 1.121 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004025/0.7889, allocations: 2.209 MB / 1.124 GB, free: 40 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.789, allocations: 17.89 kB / 1.124 GB, free: 28 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.7892, allocations: 57.36 kB / 1.124 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/0.7895, allocations: 166.3 kB / 1.124 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.7931, allocations: 1.87 MB / 1.126 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.8069, allocations: 12.44 MB / 1.138 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/0.812, allocations: 1.973 MB / 1.14 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.8132, allocations: 0.608 MB / 1.14 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/0.8134, allocations: 106.1 kB / 1.14 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.8135, allocations: 48.53 kB / 1.14 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=103): time 3.367e-06/0.8135, allocations: 0 / 1.14 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=110): time 0.007249/0.8207, allocations: 3.707 MB / 1.144 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.8208, allocations: 62.84 kB / 1.144 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.8223, allocations: 0.9163 MB / 1.145 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/0.8224, allocations: 45.52 kB / 1.145 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/0.8229, allocations: 0.7298 MB / 1.146 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.8233, allocations: 387.8 kB / 1.146 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.8237, allocations: 290.5 kB / 1.146 GB, free: 432 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.8238, allocations: 302.3 kB / 1.147 GB, free: 128 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.8249, allocations: 0.6113 MB / 1.147 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.8262, allocations: 1.108 MB / 1.148 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.8286, allocations: 1.83 MB / 1.15 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.8286, allocations: 3.469 kB / 1.15 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003812/0.8325, allocations: 2.105 MB / 1.152 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.8325, allocations: 11.22 kB / 1.152 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.8325, allocations: 15.56 kB / 1.152 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.8334, allocations: 259.8 kB / 1.153 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.8348, allocations: 368.7 kB / 1.153 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009001/0.8438, allocations: 11.59 MB / 1.164 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.8454, allocations: 128.2 kB / 1.164 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.8456, allocations: 70.52 kB / 1.164 GB, free: 1.434 MB / 0.9044 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.0009224/0.8465, allocations: 406 kB / 1.165 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/0.8469, allocations: 127.2 kB / 1.165 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.8502, allocations: 1.688 MB / 1.167 GB, free: 180 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.8503, allocations: 15.3 kB / 1.167 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.8503, allocations: 6.609 kB / 1.167 GB, free: 172 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.8503, allocations: 3.984 kB / 1.167 GB, free: 168 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005929/0.8562, allocations: 3.278 MB / 1.17 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.8563, allocations: 5.594 kB / 1.17 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/0.8572, allocations: 222.8 kB / 1.17 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007669/0.8579, allocations: 247.1 kB / 1.17 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.469e-05/0.8581, allocations: 31.81 kB / 1.17 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008594/0.8667, allocations: 11.56 MB / 1.182 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.8667, allocations: 15.09 kB / 1.182 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/0.8696, allocations: 1.798 MB / 1.183 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/0.8704, allocations: 303.6 kB / 1.184 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.8707, allocations: 35.7 kB / 1.184 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/0.8716, allocations: 89.88 kB / 1.184 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.8718, allocations: 97.58 kB / 1.184 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.8719, allocations: 38.12 kB / 1.184 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008807/0.8728, allocations: 0.6171 MB / 1.184 GB, free: 204 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8728, allocations: 0 / 1.184 GB, free: 204 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.001669/0.8745, allocations: 393 kB / 1.185 GB, free: 160 kB / 0.92 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.003074/0.8776, allocations: 2.39 MB / 1.187 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003661/0.8812, allocations: 2.506 MB / 1.19 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8813, allocations: 1.219 kB / 1.19 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.8834, allocations: 1.623 MB / 1.191 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.8854, allocations: 361.7 kB / 1.192 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/0.9028, allocations: 11.46 MB / 1.203 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.9039, allocations: 1.331 MB / 1.204 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001059/0.905, allocations: 367.3 kB / 1.204 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/0.9057, allocations: 0.5422 MB / 1.205 GB, free: 292 kB / 0.9356 GB Notification: Performance of SimCode: time 9.72e-07/0.9058, allocations: 0 / 1.205 GB, free: 292 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06583/0.9716, allocations: 28.27 MB / 1.233 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.42, allocations: 21.42 kB / 1.233 GB, free: 4.387 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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