Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_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.007082/0.007082, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001805/0.001805, allocations: 192.4 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.532/2.532, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 64.39 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2684, allocations: 162.3 MB / 1.242 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04127/0.3097, allocations: 37.26 MB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.3305, allocations: 13.71 MB / 1.292 GB, free: 5.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.3331, allocations: 111.7 kB / 1.292 GB, free: 5.684 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.3384, allocations: 2.274 MB / 1.294 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.3415, allocations: 1.435 MB / 1.295 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007546/0.349, allocations: 3.527 MB / 1.299 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006905/0.356, allocations: 6.379 MB / 1.305 GB, free: 8.039 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.3664, allocations: 9.89 MB / 1.315 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.3699, allocations: 2.735 MB / 1.317 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.3742, allocations: 3.206 MB / 1.32 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008273/0.375, allocations: 0.6211 MB / 1.321 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.3771, allocations: 1.252 MB / 1.322 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002261/0.3794, allocations: 2.476 MB / 1.325 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.3819, allocations: 2.549 MB / 1.327 GB, free: 1.156 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008665/0.3906, allocations: 9.182 MB / 1.336 GB, free: 7.945 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3906, allocations: 0 / 1.336 GB, free: 7.945 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3907, allocations: 3.938 kB / 1.336 GB, free: 7.941 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001759/0.3908, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.061 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.007457/0.3983, allocations: 4.41 MB / 1.341 GB, free: 3.457 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3983, allocations: 8.031 kB / 1.341 GB, free: 3.449 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007828/0.3991, allocations: 0.6404 MB / 1.341 GB, free: 2.797 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/0.4035, allocations: 1.052 MB / 1.342 GB, free: 1.742 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.4069, allocations: 2.238 MB / 1.344 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.4071, allocations: 324.9 kB / 1.345 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006352/0.4078, allocations: 432.3 kB / 1.345 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.4183, allocations: 7.404 MB / 1.352 GB, free: 7.074 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/0.4184, allocations: 11.88 kB / 1.352 GB, free: 7.062 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004457/0.4189, allocations: 188 kB / 1.352 GB, free: 6.879 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/0.4192, allocations: 282.9 kB / 1.353 GB, free: 6.602 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009019/0.4282, allocations: 6.03 MB / 1.359 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.4606, allocations: 32.5 MB / 1.39 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/0.464, allocations: 2.142 MB / 1.392 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.4656, allocations: 1.248 MB / 1.394 GB, free: 9.781 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.4658, allocations: 106.1 kB / 1.394 GB, free: 9.656 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.4658, allocations: 47.56 kB / 1.394 GB, free: 9.602 MB / 1.123 GB Notification: Performance of pre-optimization done (n=98): time 2.314e-06/0.4659, allocations: 0 / 1.394 GB, free: 9.602 MB / 1.123 GB Notification: Performance of matching and sorting (n=101): time 0.007212/0.4731, allocations: 5.44 MB / 1.399 GB, free: 4.137 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.4732, allocations: 141.5 kB / 1.399 GB, free: 3.965 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.475, allocations: 1.469 MB / 1.401 GB, free: 2.484 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.629e-05/0.4751, allocations: 49.7 kB / 1.401 GB, free: 2.43 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.4763, allocations: 1.929 MB / 1.403 GB, free: 492 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.4766, allocations: 388.8 kB / 1.403 GB, free: 100 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006837/0.4773, allocations: 471.4 kB / 1.403 GB, free: 15.62 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.4774, allocations: 301.1 kB / 1.404 GB, free: 15.33 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.4791, allocations: 1.145 MB / 1.405 GB, free: 14.17 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.4817, allocations: 2.219 MB / 1.407 GB, free: 11.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.486, allocations: 3.431 MB / 1.41 GB, free: 7.523 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.486, allocations: 12 kB / 1.41 GB, free: 7.512 MB / 1.139 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005012/0.4911, allocations: 3.372 MB / 1.414 GB, free: 4.133 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.4911, allocations: 25.94 kB / 1.414 GB, free: 4.109 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/0.4911, allocations: 36 kB / 1.414 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-05/0.4912, allocations: 51.94 kB / 1.414 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.4933, allocations: 0.6278 MB / 1.414 GB, free: 3.395 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.185e-05/0.4934, allocations: 71.72 kB / 1.415 GB, free: 3.324 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.4952, allocations: 335 kB / 1.415 GB, free: 2.996 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.4954, allocations: 116 kB / 1.415 GB, free: 2.883 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003465/0.4988, allocations: 2.439 MB / 1.417 GB, free: 448 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002298/0.5011, allocations: 2.039 MB / 1.419 GB, free: 13.86 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003674/0.5048, allocations: 3.064 MB / 1.422 GB, free: 10.31 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-05/0.5049, allocations: 15.94 kB / 1.422 GB, free: 10.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004474/0.5093, allocations: 2.985 MB / 1.425 GB, free: 7.301 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5094, allocations: 20.19 kB / 1.425 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.5094, allocations: 43.98 kB / 1.425 GB, free: 7.238 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/0.5095, allocations: 48 kB / 1.425 GB, free: 7.191 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.5112, allocations: 0.5576 MB / 1.426 GB, free: 6.633 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-05/0.5113, allocations: 75.66 kB / 1.426 GB, free: 6.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.5129, allocations: 267.3 kB / 1.426 GB, free: 6.297 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.5131, allocations: 112 kB / 1.426 GB, free: 6.188 MB / 1.154 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.0004537/0.5135, allocations: 335.3 kB / 1.427 GB, free: 5.852 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.5138, allocations: 167 kB / 1.427 GB, free: 5.688 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.5172, allocations: 2.246 MB / 1.429 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.5172, allocations: 16 kB / 1.429 GB, free: 3.41 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5172, allocations: 4 kB / 1.429 GB, free: 3.406 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.5172, allocations: 11.97 kB / 1.429 GB, free: 3.395 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.5312, allocations: 10.99 MB / 1.44 GB, free: 8.148 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.5312, allocations: 8 kB / 1.44 GB, free: 8.141 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.5326, allocations: 391.3 kB / 1.44 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.5326, allocations: 16 kB / 1.44 GB, free: 7.742 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.342e-05/0.5327, allocations: 32.59 kB / 1.44 GB, free: 7.711 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.061e-05/0.5327, allocations: 23.92 kB / 1.44 GB, free: 7.688 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.5327, allocations: 19.94 kB / 1.44 GB, free: 7.668 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.536, allocations: 2.772 MB / 1.443 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.5367, allocations: 459.7 kB / 1.443 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.5369, allocations: 39.92 kB / 1.443 GB, free: 4.227 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.5381, allocations: 175.7 kB / 1.444 GB, free: 4.055 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.5383, allocations: 100.2 kB / 1.444 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.732e-05/0.5384, allocations: 43.94 kB / 1.444 GB, free: 3.914 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001408/0.5398, allocations: 1.005 MB / 1.445 GB, free: 2.91 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5398, allocations: 0 / 1.445 GB, free: 2.91 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00327/0.5431, allocations: 1.133 MB / 1.446 GB, free: 1.777 MB / 1.17 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.003601/0.5467, allocations: 3.349 MB / 1.449 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005993/0.5527, allocations: 4.071 MB / 1.453 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5527, allocations: 3.938 kB / 1.453 GB, free: 10.19 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.5541, allocations: 1.063 MB / 1.454 GB, free: 9.129 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.5563, allocations: 451.9 kB / 1.455 GB, free: 8.715 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/0.5842, allocations: 21.92 MB / 1.476 GB, free: 1.336 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/0.587, allocations: 2.872 MB / 1.479 GB, free: 14.43 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002667/0.5897, allocations: 1.231 MB / 1.48 GB, free: 13.19 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/0.5913, allocations: 1.269 MB / 1.481 GB, free: 11.92 MB / 1.217 GB Notification: Performance of SimCode: time 4.41e-07/0.5913, allocations: 0 / 1.481 GB, free: 11.92 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.375/3.966, allocations: 47.75 MB / 1.528 GB, free: 12.58 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/16, allocations: 9.047 kB / 1.528 GB, free: 12.57 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches