Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",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.001114/0.001114, allocations: 108 kB / 15.6 MB, free: 124 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.00107/0.00107, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.222/1.222, 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.348/2.348, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 66 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2087, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6063/0.815, allocations: 237.6 MB / 1.285 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.8305, allocations: 15.78 MB / 1.3 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.832, allocations: 64.31 kB / 1.3 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.8338, allocations: 1.032 MB / 1.301 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.8391, allocations: 2.987 MB / 1.304 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.8423, allocations: 1.671 MB / 1.306 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.8452, allocations: 3.427 MB / 1.309 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.8464, allocations: 1.293 MB / 1.311 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.8506, allocations: 2.475 MB / 1.313 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.8519, allocations: 1.093 MB / 1.314 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.8521, allocations: 117.6 kB / 1.314 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/0.8565, allocations: 3.092 MB / 1.317 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.8569, allocations: 477.8 kB / 1.318 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.8576, allocations: 0.8122 MB / 1.318 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.8604, allocations: 2.937 MB / 1.321 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8605, allocations: 2.5 kB / 1.321 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.041e-06/0.8605, allocations: 0 / 1.321 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.8605, allocations: 0.9688 kB / 1.321 GB, free: 1.059 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002589/0.8631, allocations: 2.003 MB / 1.323 GB, free: 16.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.8631, allocations: 9.5 kB / 1.323 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.8633, allocations: 156.2 kB / 1.323 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.8656, allocations: 0.4946 MB / 1.324 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.8672, allocations: 1.104 MB / 1.325 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000789/0.868, allocations: 247.6 kB / 1.325 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.8681, allocations: 100.8 kB / 1.325 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.8699, allocations: 1.369 MB / 1.327 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.87, allocations: 4.625 kB / 1.327 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.8701, allocations: 41.69 kB / 1.327 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.8701, allocations: 45.34 kB / 1.327 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.8721, allocations: 1.081 MB / 1.328 GB, free: 15.09 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005834/0.878, allocations: 7.436 MB / 1.335 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.8794, allocations: 0.565 MB / 1.336 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.88, allocations: 270.6 kB / 1.336 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.8803, allocations: 287.2 kB / 1.336 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.8803, allocations: 34.72 kB / 1.336 GB, free: 9.695 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.8804, allocations: 0 / 1.336 GB, free: 9.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002052/0.8824, allocations: 0.8731 MB / 1.337 GB, free: 9.559 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.8824, allocations: 60.88 kB / 1.337 GB, free: 9.492 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.8838, allocations: 1.394 MB / 1.338 GB, free: 9.316 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.8838, allocations: 36.73 kB / 1.338 GB, free: 9.281 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.8842, allocations: 0.6992 MB / 1.339 GB, free: 9.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/0.8843, allocations: 120.6 kB / 1.339 GB, free: 8.945 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.8845, allocations: 168.1 kB / 1.339 GB, free: 8.914 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.8846, allocations: 330.2 kB / 1.34 GB, free: 8.609 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.8854, allocations: 328.4 kB / 1.34 GB, free: 8.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009964/0.8864, allocations: 0.703 MB / 1.341 GB, free: 8.105 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.888, allocations: 0.9504 MB / 1.342 GB, free: 7.656 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.888, allocations: 7.156 kB / 1.342 GB, free: 7.652 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002001/0.89, allocations: 1.083 MB / 1.343 GB, free: 7.516 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.89, allocations: 8.5 kB / 1.343 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.89, allocations: 21.47 kB / 1.343 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.89, allocations: 15.41 kB / 1.343 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.8908, allocations: 215.4 kB / 1.343 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.8908, allocations: 25.81 kB / 1.343 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.8919, allocations: 191.9 kB / 1.343 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.892, allocations: 44.08 kB / 1.343 GB, free: 7.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009837/0.893, allocations: 0.5768 MB / 1.344 GB, free: 7.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009261/0.8939, allocations: 0.7046 MB / 1.344 GB, free: 6.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001483/0.8954, allocations: 0.9505 MB / 1.345 GB, free: 6.398 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.8954, allocations: 2.469 kB / 1.345 GB, free: 6.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001946/0.8973, allocations: 1.076 MB / 1.346 GB, free: 6.266 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.8974, allocations: 10.72 kB / 1.346 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8974, allocations: 11.47 kB / 1.346 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.8974, allocations: 15.94 kB / 1.346 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.8981, allocations: 211 kB / 1.347 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.8981, allocations: 31.56 kB / 1.347 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.8992, allocations: 137.3 kB / 1.347 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.8993, allocations: 50.33 kB / 1.347 GB, free: 6.227 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0001459/0.8994, allocations: 230.4 kB / 1.347 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.8996, allocations: 140.3 kB / 1.347 GB, free: 5.969 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.901, allocations: 0.6611 MB / 1.348 GB, free: 5.883 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.901, allocations: 12.97 kB / 1.348 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.901, allocations: 0 / 1.348 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.901, allocations: 1.5 kB / 1.348 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.9038, allocations: 1.922 MB / 1.35 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.9038, allocations: 8.844 kB / 1.35 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.9042, allocations: 95.91 kB / 1.35 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.9043, allocations: 10.39 kB / 1.35 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.9043, allocations: 11.61 kB / 1.35 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.9043, allocations: 7.562 kB / 1.35 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.9043, allocations: 10.91 kB / 1.35 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.9056, allocations: 0.8213 MB / 1.351 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.906, allocations: 293.4 kB / 1.351 GB, free: 4.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.9062, allocations: 13.69 kB / 1.351 GB, free: 4.836 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/0.9071, allocations: 83.28 kB / 1.351 GB, free: 4.824 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.9072, allocations: 29.73 kB / 1.351 GB, free: 4.824 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.9072, allocations: 22.11 kB / 1.351 GB, free: 4.824 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001044/0.9083, allocations: 1.017 MB / 1.352 GB, free: 4.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9083, allocations: 0 / 1.352 GB, free: 4.707 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001343/0.9096, allocations: 0.5754 MB / 1.353 GB, free: 4.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.001871/0.9115, allocations: 1.528 MB / 1.354 GB, free: 3.742 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.9139, allocations: 1.175 MB / 1.355 GB, free: 3.703 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9139, allocations: 0 / 1.355 GB, free: 3.703 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.9145, allocations: 267.1 kB / 1.356 GB, free: 3.695 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.9172, allocations: 0.7407 MB / 1.356 GB, free: 3.559 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.9302, allocations: 10.69 MB / 1.367 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.9308, allocations: 1.188 MB / 1.368 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001286/0.9321, allocations: 391 kB / 1.368 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.9326, allocations: 498.8 kB / 1.369 GB, free: 14.12 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.9326, allocations: 0 / 1.369 GB, free: 14.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.022/6.954, allocations: 35.41 MB / 1.403 GB, free: 2.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/16.03, allocations: 11.28 kB / 1.403 GB, free: 2.031 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches