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.001757/0.001757, 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.002153/0.002153, allocations: 196.6 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 65.23 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2886, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01385/0.3025, allocations: 11.11 MB / 1.064 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009407/0.312, allocations: 5.792 MB / 1.069 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.3136, allocations: 51.62 kB / 1.069 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004524/0.3181, allocations: 1.718 MB / 1.071 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.3218, allocations: 1.158 MB / 1.072 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.324, allocations: 0.8084 MB / 1.073 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.327, allocations: 2.115 MB / 1.075 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.3288, allocations: 1.318 MB / 1.076 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.3302, allocations: 0.8485 MB / 1.077 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.3317, allocations: 0.9026 MB / 1.078 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.3321, allocations: 112 kB / 1.078 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.3344, allocations: 1.173 MB / 1.079 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006781/0.3351, allocations: 0.5298 MB / 1.08 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.3364, allocations: 0.7888 MB / 1.081 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.3403, allocations: 2.387 MB / 1.083 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3403, allocations: 7.938 kB / 1.083 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3403, allocations: 3.938 kB / 1.083 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001066/0.3404, allocations: 0 / 1.083 GB, free: 9.363 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.003738/0.3442, allocations: 1.86 MB / 1.085 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3443, allocations: 8.625 kB / 1.085 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004213/0.3447, allocations: 223.4 kB / 1.085 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.3493, allocations: 0.6621 MB / 1.086 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.351, allocations: 0.9146 MB / 1.087 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.3511, allocations: 94.89 kB / 1.087 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.3515, allocations: 136.2 kB / 1.087 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.3549, allocations: 2.202 MB / 1.089 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.355, allocations: 15.86 kB / 1.089 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.3552, allocations: 63.91 kB / 1.089 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002072/0.3554, allocations: 162.3 kB / 1.089 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.3587, allocations: 1.871 MB / 1.091 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.3707, allocations: 12.46 MB / 1.103 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.3749, allocations: 1.976 MB / 1.105 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/0.3758, allocations: 0.6089 MB / 1.106 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.376, allocations: 102.1 kB / 1.106 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.376, allocations: 47.44 kB / 1.106 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 3.357e-06/0.376, allocations: 0 / 1.106 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.006253/0.3823, allocations: 3.706 MB / 1.109 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3824, allocations: 64.41 kB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3836, allocations: 0.9165 MB / 1.11 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.3836, allocations: 41.7 kB / 1.11 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.3841, allocations: 0.743 MB / 1.111 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.3844, allocations: 378.5 kB / 1.112 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.3848, allocations: 291.2 kB / 1.112 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.3849, allocations: 301.1 kB / 1.112 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009817/0.3859, allocations: 0.6129 MB / 1.113 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.3872, allocations: 1.113 MB / 1.114 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.3895, allocations: 1.82 MB / 1.116 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.3896, allocations: 8 kB / 1.116 GB, free: 6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003732/0.3933, allocations: 2.1 MB / 1.118 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.3933, allocations: 15.98 kB / 1.118 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.3934, allocations: 16 kB / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/0.3942, allocations: 259.1 kB / 1.118 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.3955, allocations: 375.4 kB / 1.118 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.4039, allocations: 11.59 MB / 1.13 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4053, allocations: 127.8 kB / 1.13 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.4056, allocations: 76.11 kB / 1.13 GB, free: 6.277 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.0008043/0.4064, allocations: 403.2 kB / 1.13 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.4067, allocations: 134.3 kB / 1.13 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.4095, allocations: 1.685 MB / 1.132 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.4096, allocations: 12 kB / 1.132 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.4096, allocations: 4 kB / 1.132 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4096, allocations: 3.984 kB / 1.132 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/0.4149, allocations: 3.291 MB / 1.135 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.415, allocations: 4 kB / 1.135 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/0.4159, allocations: 224.3 kB / 1.135 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007099/0.4166, allocations: 246.6 kB / 1.136 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.4167, allocations: 35.86 kB / 1.136 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008091/0.4248, allocations: 11.57 MB / 1.147 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.4248, allocations: 8 kB / 1.147 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.4275, allocations: 1.792 MB / 1.149 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.4281, allocations: 303.5 kB / 1.149 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.4283, allocations: 35.89 kB / 1.149 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.4291, allocations: 87.88 kB / 1.149 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.4293, allocations: 104.6 kB / 1.149 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.4293, allocations: 36 kB / 1.149 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007498/0.4301, allocations: 0.6138 MB / 1.15 GB, free: 260 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4301, allocations: 0 / 1.15 GB, free: 260 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001362/0.4315, allocations: 404 kB / 1.15 GB, free: 15.86 MB / 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.002791/0.4343, allocations: 2.378 MB / 1.153 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004165/0.4384, allocations: 2.875 MB / 1.155 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4385, allocations: 0 / 1.155 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.4406, allocations: 1.626 MB / 1.157 GB, free: 8.656 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.4427, allocations: 364.1 kB / 1.157 GB, free: 8.309 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.4591, allocations: 12.01 MB / 1.169 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.4602, allocations: 1.323 MB / 1.17 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001085/0.4613, allocations: 359.3 kB / 1.171 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/0.462, allocations: 0.5383 MB / 1.171 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.462, allocations: 0 / 1.171 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09856/0.5606, allocations: 27.89 MB / 1.198 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.866/10.43, allocations: 13.25 kB / 1.198 GB, free: 13.55 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