Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_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.006855/0.006855, allocations: 99.61 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.001068/0.001068, allocations: 195.9 kB / 16.67 MB, free: 5.93 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.509/2.509, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.97 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3027, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04163/0.3443, allocations: 37.26 MB / 1.124 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.3659, allocations: 13.71 MB / 1.137 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.3691, allocations: 115.6 kB / 1.137 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.3745, allocations: 2.279 MB / 1.14 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.3779, allocations: 1.431 MB / 1.141 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007947/0.3859, allocations: 3.53 MB / 1.144 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007349/0.3932, allocations: 6.38 MB / 1.151 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.4046, allocations: 9.884 MB / 1.16 GB, free: 7.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/0.4089, allocations: 2.731 MB / 1.163 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005028/0.4139, allocations: 3.202 MB / 1.166 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.4153, allocations: 0.6172 MB / 1.167 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.4181, allocations: 1.256 MB / 1.168 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.4207, allocations: 2.48 MB / 1.17 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003354/0.4241, allocations: 2.553 MB / 1.173 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.4344, allocations: 9.167 MB / 1.182 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4345, allocations: 0 / 1.182 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4345, allocations: 0 / 1.182 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003155/0.4348, allocations: 0 / 1.182 GB, free: 1.059 MB / 0.9356 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.0103/0.4451, allocations: 4.304 MB / 1.186 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4452, allocations: 12.03 kB / 1.186 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009609/0.4462, allocations: 0.6404 MB / 1.187 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.4508, allocations: 1.038 MB / 1.188 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.4554, allocations: 2.226 MB / 1.19 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.4557, allocations: 329 kB / 1.19 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008154/0.4565, allocations: 432.2 kB / 1.191 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.4723, allocations: 7.401 MB / 1.198 GB, free: 328 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.4725, allocations: 15.88 kB / 1.198 GB, free: 312 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008186/0.4733, allocations: 188 kB / 1.198 GB, free: 124 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004292/0.4738, allocations: 286.9 kB / 1.198 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.4864, allocations: 6.018 MB / 1.204 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.5225, allocations: 32.45 MB / 1.236 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.5258, allocations: 2.138 MB / 1.238 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.5274, allocations: 1.244 MB / 1.239 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.5276, allocations: 102.1 kB / 1.239 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.5276, allocations: 47.5 kB / 1.239 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=98): time 2.665e-06/0.5276, allocations: 0 / 1.239 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.007229/0.5349, allocations: 5.274 MB / 1.244 GB, free: 13.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.535, allocations: 149.5 kB / 1.245 GB, free: 13.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.5368, allocations: 1.472 MB / 1.246 GB, free: 11.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.537, allocations: 41.7 kB / 1.246 GB, free: 11.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.538, allocations: 1.867 MB / 1.248 GB, free: 9.973 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.5383, allocations: 370.9 kB / 1.248 GB, free: 9.605 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006387/0.539, allocations: 463 kB / 1.249 GB, free: 9.145 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.5391, allocations: 305.1 kB / 1.249 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.5407, allocations: 1.141 MB / 1.25 GB, free: 7.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.5431, allocations: 2.219 MB / 1.252 GB, free: 4.953 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/0.5471, allocations: 3.438 MB / 1.256 GB, free: 1.039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.5472, allocations: 12 kB / 1.256 GB, free: 1.027 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.645/1.192, allocations: 3.362 MB / 1.259 GB, free: 155.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/1.192, allocations: 20.27 kB / 1.259 GB, free: 155.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.783e-05/1.192, allocations: 35.66 kB / 1.259 GB, free: 155.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.291e-05/1.192, allocations: 51.81 kB / 1.259 GB, free: 155.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/1.195, allocations: 0.6308 MB / 1.26 GB, free: 155.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-05/1.195, allocations: 69.8 kB / 1.26 GB, free: 155.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.197, allocations: 328.9 kB / 1.26 GB, free: 155.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/1.197, allocations: 115.5 kB / 1.26 GB, free: 155.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004583/1.202, allocations: 2.435 MB / 1.262 GB, free: 155.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00229/1.204, allocations: 2.035 MB / 1.264 GB, free: 153.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004284/1.209, allocations: 3.07 MB / 1.267 GB, free: 151.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.07e-05/1.209, allocations: 12.25 kB / 1.267 GB, free: 151.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005114/1.214, allocations: 2.98 MB / 1.27 GB, free: 150.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.214, allocations: 19.47 kB / 1.27 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/1.214, allocations: 36.64 kB / 1.27 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.336e-05/1.214, allocations: 47.75 kB / 1.27 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.216, allocations: 0.5629 MB / 1.271 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.981e-05/1.216, allocations: 77.47 kB / 1.271 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.218, allocations: 265.9 kB / 1.271 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.218, allocations: 113.3 kB / 1.271 GB, free: 150.1 MB / 1.014 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.0005833/1.219, allocations: 339.9 kB / 1.272 GB, free: 149.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/1.219, allocations: 154 kB / 1.272 GB, free: 149.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/1.223, allocations: 2.242 MB / 1.274 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.223, allocations: 11.22 kB / 1.274 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.223, allocations: 5.438 kB / 1.274 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.223, allocations: 10.92 kB / 1.274 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.241, allocations: 10.99 MB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/1.241, allocations: 12.2 kB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.243, allocations: 391.9 kB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.142e-05/1.243, allocations: 17.31 kB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.87e-05/1.243, allocations: 36.72 kB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/1.243, allocations: 21.77 kB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/1.243, allocations: 17.56 kB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/1.247, allocations: 2.758 MB / 1.288 GB, free: 143.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.248, allocations: 456.6 kB / 1.288 GB, free: 143 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/1.248, allocations: 40.83 kB / 1.289 GB, free: 143 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.25, allocations: 176 kB / 1.289 GB, free: 143 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/1.25, allocations: 95.92 kB / 1.289 GB, free: 142.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/1.25, allocations: 45.58 kB / 1.289 GB, free: 142.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001459/1.252, allocations: 1.002 MB / 1.29 GB, free: 142.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.252, allocations: 0 / 1.29 GB, free: 142.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004884/1.256, allocations: 1.133 MB / 1.291 GB, free: 142.5 MB / 1.014 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.003617/1.26, allocations: 3.355 MB / 1.294 GB, free: 140.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006327/1.266, allocations: 4.069 MB / 1.298 GB, free: 139 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/1.266, allocations: 8.125 kB / 1.298 GB, free: 139 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/1.268, allocations: 1.061 MB / 1.299 GB, free: 138.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.27, allocations: 444.4 kB / 1.3 GB, free: 138.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/1.298, allocations: 21.82 MB / 1.321 GB, free: 121.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/1.3, allocations: 2.868 MB / 1.324 GB, free: 119 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002406/1.302, allocations: 1.223 MB / 1.325 GB, free: 117.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/1.303, allocations: 1.276 MB / 1.326 GB, free: 116.5 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.303, allocations: 4 kB / 1.326 GB, free: 116.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.587/2.891, allocations: 47.74 MB / 1.373 GB, free: 69.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/14.7, allocations: 12.5 kB / 1.373 GB, free: 69.13 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches