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.00196/0.00196, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002699/0.002699, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.826/1.826, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.088/3.088, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 61.2 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3672, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9372/1.304, allocations: 234.7 MB / 1.282 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03685/1.341, allocations: 15.68 MB / 1.297 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/1.346, allocations: 56.44 kB / 1.297 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005059/1.351, allocations: 0.9252 MB / 1.298 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01701/1.368, allocations: 2.796 MB / 1.301 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01035/1.378, allocations: 1.536 MB / 1.302 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009646/1.388, allocations: 3.438 MB / 1.305 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004307/1.392, allocations: 1.256 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/1.406, allocations: 2.479 MB / 1.309 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005338/1.411, allocations: 1.146 MB / 1.31 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009414/1.412, allocations: 121.1 kB / 1.31 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009712/1.422, allocations: 3.263 MB / 1.314 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/1.423, allocations: 490.6 kB / 1.314 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002176/1.425, allocations: 0.8149 MB / 1.315 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007686/1.433, allocations: 3.142 MB / 1.318 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/1.433, allocations: 0.9375 kB / 1.318 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/1.433, allocations: 3.125 kB / 1.318 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.992e-05/1.433, allocations: 5.031 kB / 1.318 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.005543/1.438, allocations: 2.002 MB / 1.32 GB, free: 16.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.755e-05/1.439, allocations: 11.28 kB / 1.32 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00029/1.439, allocations: 157.4 kB / 1.32 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/1.443, allocations: 0.4937 MB / 1.32 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/1.448, allocations: 1.112 MB / 1.322 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001487/1.449, allocations: 240.8 kB / 1.322 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/1.45, allocations: 97.25 kB / 1.322 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004442/1.454, allocations: 1.33 MB / 1.323 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/1.454, allocations: 2.625 kB / 1.323 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/1.454, allocations: 39.06 kB / 1.323 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/1.454, allocations: 49.11 kB / 1.323 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/1.459, allocations: 1.073 MB / 1.324 GB, free: 15.19 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.01672/1.475, allocations: 6.631 MB / 1.331 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/1.478, allocations: 0.5575 MB / 1.331 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/1.48, allocations: 273.5 kB / 1.332 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009609/1.481, allocations: 284 kB / 1.332 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.874e-05/1.481, allocations: 39.97 kB / 1.332 GB, free: 10.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 6.032e-06/1.481, allocations: 3.312 kB / 1.332 GB, free: 10.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.005117/1.486, allocations: 0.8627 MB / 1.333 GB, free: 10.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/1.486, allocations: 61.44 kB / 1.333 GB, free: 10.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/1.49, allocations: 1.36 MB / 1.334 GB, free: 10.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/1.491, allocations: 34.42 kB / 1.334 GB, free: 10.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009755/1.492, allocations: 0.686 MB / 1.335 GB, free: 9.953 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/1.492, allocations: 115.7 kB / 1.335 GB, free: 9.887 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/1.493, allocations: 149.9 kB / 1.335 GB, free: 9.859 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.493, allocations: 326.5 kB / 1.335 GB, free: 9.555 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.494, allocations: 314.9 kB / 1.336 GB, free: 9.535 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/1.496, allocations: 0.6255 MB / 1.336 GB, free: 9.129 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/1.5, allocations: 0.8578 MB / 1.337 GB, free: 8.762 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-05/1.5, allocations: 2.531 kB / 1.337 GB, free: 8.762 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004925/1.505, allocations: 1.007 MB / 1.338 GB, free: 8.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/1.505, allocations: 6.844 kB / 1.338 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/1.505, allocations: 9.719 kB / 1.338 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.108e-05/1.505, allocations: 16.97 kB / 1.338 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/1.507, allocations: 201.1 kB / 1.338 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.026e-05/1.507, allocations: 23.89 kB / 1.338 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.511, allocations: 217.4 kB / 1.339 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.511, allocations: 38.41 kB / 1.339 GB, free: 8.539 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003022/1.514, allocations: 0.5615 MB / 1.339 GB, free: 8.449 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002393/1.517, allocations: 0.6257 MB / 1.34 GB, free: 8.047 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003405/1.52, allocations: 0.8513 MB / 1.341 GB, free: 7.684 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.902e-05/1.52, allocations: 2.094 kB / 1.341 GB, free: 7.684 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.004538/1.525, allocations: 1.002 MB / 1.342 GB, free: 7.555 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.525, allocations: 8.125 kB / 1.342 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.525, allocations: 8.156 kB / 1.342 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.525, allocations: 13.31 kB / 1.342 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/1.526, allocations: 194.7 kB / 1.342 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.039e-05/1.526, allocations: 19.88 kB / 1.342 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/1.529, allocations: 158.2 kB / 1.342 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/1.529, allocations: 35.62 kB / 1.342 GB, free: 7.516 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.000552/1.53, allocations: 234.1 kB / 1.342 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007632/1.531, allocations: 133.8 kB / 1.342 GB, free: 7.258 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/1.534, allocations: 0.6562 MB / 1.343 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.534, allocations: 9.031 kB / 1.343 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.534, allocations: 2.625 kB / 1.343 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.534, allocations: 3.188 kB / 1.343 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/1.541, allocations: 1.927 MB / 1.345 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.541, allocations: 2.469 kB / 1.345 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.542, allocations: 102.6 kB / 1.345 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/1.542, allocations: 8.5 kB / 1.345 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/1.543, allocations: 12.81 kB / 1.345 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.543, allocations: 11.31 kB / 1.345 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/1.543, allocations: 9.125 kB / 1.345 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/1.546, allocations: 0.827 MB / 1.346 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.547, allocations: 299.9 kB / 1.346 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006338/1.547, allocations: 9.766 kB / 1.346 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.55, allocations: 105.9 kB / 1.346 GB, free: 6.105 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/1.55, allocations: 32.88 kB / 1.346 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.55, allocations: 25.77 kB / 1.346 GB, free: 6.098 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003285/1.554, allocations: 0.9975 MB / 1.347 GB, free: 5.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.41e-07/1.554, allocations: 0 / 1.347 GB, free: 5.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004371/1.558, allocations: 0.5662 MB / 1.348 GB, free: 5.934 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.004962/1.563, allocations: 1.515 MB / 1.349 GB, free: 5.031 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00567/1.569, allocations: 1.101 MB / 1.35 GB, free: 4.992 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.569, allocations: 0 / 1.35 GB, free: 4.992 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/1.57, allocations: 270.5 kB / 1.351 GB, free: 4.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008307/1.578, allocations: 0.7415 MB / 1.351 GB, free: 4.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04371/1.622, allocations: 10.72 MB / 1.362 GB, free: 144 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/1.624, allocations: 1.182 MB / 1.363 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003915/1.628, allocations: 370.5 kB / 1.363 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.63, allocations: 499.9 kB / 1.364 GB, free: 15.31 MB / 1.029 GB Notification: Performance of SimCode: time 1.593e-06/1.63, allocations: 2.469 kB / 1.364 GB, free: 15.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/3.064, allocations: 34.75 MB / 1.398 GB, free: 5.621 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005807/3.064, allocations: 251.8 kB / 1.398 GB, free: 5.359 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/10.87, allocations: 0 / 1.398 GB, free: 5.359 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