Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.006275/0.006275, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001382/0.001382, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.414/2.414, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 63.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.6182, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04002/0.6583, allocations: 37.27 MB / 1.257 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.6792, allocations: 13.7 MB / 1.27 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.6816, allocations: 111.7 kB / 1.27 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005286/0.687, allocations: 2.281 MB / 1.272 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.6902, allocations: 1.431 MB / 1.274 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007648/0.6979, allocations: 3.526 MB / 1.277 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006809/0.7047, allocations: 6.387 MB / 1.283 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.7162, allocations: 9.879 MB / 1.293 GB, free: 7.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.7197, allocations: 2.727 MB / 1.296 GB, free: 4.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004626/0.7243, allocations: 3.206 MB / 1.299 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.7257, allocations: 0.6211 MB / 1.299 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.7285, allocations: 1.252 MB / 1.301 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003014/0.7315, allocations: 2.48 MB / 1.303 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.7342, allocations: 2.549 MB / 1.306 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007961/0.7422, allocations: 9.189 MB / 1.315 GB, free: 1.082 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7422, allocations: 0 / 1.315 GB, free: 1.082 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7422, allocations: 0 / 1.315 GB, free: 1.082 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001105/0.7423, allocations: 0 / 1.315 GB, free: 1.082 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007248/0.7496, allocations: 4.402 MB / 1.319 GB, free: 12.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7496, allocations: 12.03 kB / 1.319 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008161/0.7505, allocations: 0.6404 MB / 1.319 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.7547, allocations: 1.056 MB / 1.32 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/0.7581, allocations: 2.23 MB / 1.323 GB, free: 8.602 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.7583, allocations: 333 kB / 1.323 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006336/0.759, allocations: 424.3 kB / 1.323 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.7696, allocations: 7.404 MB / 1.331 GB, free: 220 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.408e-05/0.7697, allocations: 23.81 kB / 1.331 GB, free: 196 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/0.7702, allocations: 188 kB / 1.331 GB, free: 8 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/0.7705, allocations: 286.9 kB / 1.331 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00905/0.7795, allocations: 6.022 MB / 1.337 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.8118, allocations: 32.5 MB / 1.369 GB, free: 6.363 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.815, allocations: 2.161 MB / 1.371 GB, free: 4.168 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.8165, allocations: 1.24 MB / 1.372 GB, free: 2.918 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.8167, allocations: 110.1 kB / 1.372 GB, free: 2.793 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.8167, allocations: 43.56 kB / 1.372 GB, free: 2.742 MB / 1.092 GB Notification: Performance of pre-optimization done (n=98): time 2.945e-06/0.8167, allocations: 0 / 1.372 GB, free: 2.742 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.006893/0.8236, allocations: 5.44 MB / 1.377 GB, free: 13.27 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.8237, allocations: 141.5 kB / 1.378 GB, free: 13.1 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.8254, allocations: 1.476 MB / 1.379 GB, free: 11.61 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/0.8255, allocations: 45.7 kB / 1.379 GB, free: 11.56 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.8266, allocations: 1.933 MB / 1.381 GB, free: 9.609 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.827, allocations: 392.8 kB / 1.381 GB, free: 9.223 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/0.8276, allocations: 463.4 kB / 1.382 GB, free: 8.762 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8277, allocations: 301.1 kB / 1.382 GB, free: 8.465 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.8294, allocations: 1.149 MB / 1.383 GB, free: 7.305 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.8318, allocations: 2.211 MB / 1.385 GB, free: 4.57 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004013/0.8358, allocations: 3.434 MB / 1.389 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.8358, allocations: 8 kB / 1.389 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004801/0.8406, allocations: 3.379 MB / 1.392 GB, free: 13.27 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.8407, allocations: 20 kB / 1.392 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/0.8407, allocations: 32 kB / 1.392 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.023e-05/0.8408, allocations: 55.88 kB / 1.392 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.8428, allocations: 0.6323 MB / 1.393 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.555e-05/0.8429, allocations: 71.72 kB / 1.393 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.8446, allocations: 319.1 kB / 1.393 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.8447, allocations: 124 kB / 1.393 GB, free: 12.02 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003185/0.8479, allocations: 2.428 MB / 1.396 GB, free: 9.586 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002175/0.8501, allocations: 2.043 MB / 1.398 GB, free: 7.004 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003485/0.8536, allocations: 3.068 MB / 1.401 GB, free: 3.449 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.405e-05/0.8536, allocations: 12 kB / 1.401 GB, free: 3.438 MB / 1.123 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004217/0.8578, allocations: 2.981 MB / 1.404 GB, free: 456 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.8579, allocations: 20 kB / 1.404 GB, free: 436 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.8579, allocations: 36 kB / 1.404 GB, free: 400 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/0.858, allocations: 48 kB / 1.404 GB, free: 352 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.8597, allocations: 0.5659 MB / 1.404 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.514e-05/0.8597, allocations: 75.66 kB / 1.404 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.8613, allocations: 267.3 kB / 1.405 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.8615, allocations: 112 kB / 1.405 GB, free: 15.33 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0003944/0.8619, allocations: 338.3 kB / 1.405 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.8621, allocations: 163 kB / 1.405 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.8653, allocations: 2.258 MB / 1.407 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.8654, allocations: 19.94 kB / 1.407 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8654, allocations: 0 / 1.407 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.8654, allocations: 7.984 kB / 1.407 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.8784, allocations: 11 MB / 1.418 GB, free: 1.289 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8784, allocations: 8.188 kB / 1.418 GB, free: 1.281 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.8797, allocations: 387.3 kB / 1.418 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/0.8797, allocations: 16 kB / 1.418 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.8798, allocations: 39.98 kB / 1.418 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/0.8798, allocations: 19.94 kB / 1.419 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.8799, allocations: 15.94 kB / 1.419 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.8829, allocations: 2.764 MB / 1.421 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/0.8835, allocations: 467.7 kB / 1.422 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.8837, allocations: 31.98 kB / 1.422 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.8847, allocations: 175.7 kB / 1.422 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.8849, allocations: 100.2 kB / 1.422 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.885, allocations: 43.94 kB / 1.422 GB, free: 13.07 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001323/0.8863, allocations: 1.009 MB / 1.423 GB, free: 12.06 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8864, allocations: 0 / 1.423 GB, free: 12.06 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003062/0.8894, allocations: 1.133 MB / 1.424 GB, free: 10.93 MB / 1.154 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 (104): * Single equations (assignments): 104 * 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.003356/0.8928, allocations: 3.353 MB / 1.427 GB, free: 7.398 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005645/0.8984, allocations: 4.075 MB / 1.431 GB, free: 3.344 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.8985, allocations: 4 kB / 1.431 GB, free: 3.34 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.8998, allocations: 1.056 MB / 1.432 GB, free: 2.289 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.9018, allocations: 452.3 kB / 1.433 GB, free: 1.875 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/0.9283, allocations: 21.93 MB / 1.454 GB, free: 10.48 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/0.9311, allocations: 2.876 MB / 1.457 GB, free: 7.57 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002516/0.9336, allocations: 1.219 MB / 1.458 GB, free: 6.344 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/0.9352, allocations: 1.272 MB / 1.459 GB, free: 5.074 MB / 1.186 GB Notification: Performance of SimCode: time 3.9e-07/0.9352, allocations: 4 kB / 1.459 GB, free: 5.07 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 14.55/15.49, allocations: 47.75 MB / 1.506 GB, free: 5.727 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.93/37.42, allocations: 23.19 kB / 1.506 GB, free: 5.707 MB / 1.232 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches