Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001436/0.001436, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 55.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5473, allocations: 140.3 MB / 0.949 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2123/0.7596, allocations: 235.4 MB / 1.179 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.7791, allocations: 15.92 MB / 1.194 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.7812, allocations: 55.62 kB / 1.195 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.7838, allocations: 0.8744 MB / 1.195 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006873/0.7907, allocations: 2.801 MB / 1.198 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.7946, allocations: 1.506 MB / 1.2 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00518/0.7998, allocations: 4.662 MB / 1.204 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.8017, allocations: 1.07 MB / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005922/0.8076, allocations: 2.264 MB / 1.207 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.8102, allocations: 1.112 MB / 1.209 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.8106, allocations: 64 kB / 1.209 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006027/0.8166, allocations: 3.597 MB / 1.212 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.8172, allocations: 430.4 kB / 1.212 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.8183, allocations: 0.7538 MB / 1.213 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004394/0.8227, allocations: 3.1 MB / 1.216 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8227, allocations: 0 / 1.216 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8228, allocations: 0 / 1.216 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.017e-05/0.8228, allocations: 0 / 1.216 GB, free: 15.67 MB / 0.9825 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.003567/0.8264, allocations: 2.001 MB / 1.218 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.8264, allocations: 8.031 kB / 1.218 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.8266, allocations: 156.2 kB / 1.218 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.8292, allocations: 0.4975 MB / 1.219 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.8311, allocations: 1.11 MB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008469/0.832, allocations: 253.7 kB / 1.22 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.8321, allocations: 92 kB / 1.22 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.8343, allocations: 1.328 MB / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.8343, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.8344, allocations: 43.98 kB / 1.222 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.8345, allocations: 49.94 kB / 1.222 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.8368, allocations: 1.073 MB / 1.223 GB, free: 8.855 MB / 0.9825 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.007509/0.8443, allocations: 6.627 MB / 1.229 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.8459, allocations: 0.5716 MB / 1.23 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.8466, allocations: 269.2 kB / 1.23 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.847, allocations: 283.6 kB / 1.23 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.847, allocations: 38.84 kB / 1.23 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 3.617e-06/0.847, allocations: 0 / 1.23 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.00247/0.8495, allocations: 0.8713 MB / 1.231 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.8495, allocations: 55.41 kB / 1.231 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.8515, allocations: 1.354 MB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.8515, allocations: 33.7 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.8521, allocations: 0.6911 MB / 1.233 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8522, allocations: 114.4 kB / 1.233 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.8524, allocations: 150 kB / 1.233 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8525, allocations: 337.9 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008233/0.8534, allocations: 311.2 kB / 1.234 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.8544, allocations: 0.6184 MB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.8561, allocations: 0.8586 MB / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.8561, allocations: 0 / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002336/0.8584, allocations: 1.008 MB / 1.237 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.8584, allocations: 8 kB / 1.237 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.8585, allocations: 12 kB / 1.237 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.8585, allocations: 12 kB / 1.237 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.8593, allocations: 191.9 kB / 1.237 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.8594, allocations: 19.92 kB / 1.237 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.8608, allocations: 210.8 kB / 1.237 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.8609, allocations: 35.98 kB / 1.237 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.8621, allocations: 0.5675 MB / 1.238 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009576/0.863, allocations: 0.6222 MB / 1.238 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001553/0.8646, allocations: 0.8507 MB / 1.239 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/0.8646, allocations: 3.938 kB / 1.239 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002166/0.8668, allocations: 0.9991 MB / 1.24 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8668, allocations: 17.08 kB / 1.24 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8668, allocations: 8.781 kB / 1.24 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.8668, allocations: 12 kB / 1.24 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/0.8676, allocations: 195.7 kB / 1.24 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.8676, allocations: 23.86 kB / 1.24 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.8689, allocations: 158.5 kB / 1.24 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.8689, allocations: 43.98 kB / 1.24 GB, free: 5.582 MB / 0.9981 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.0001911/0.8691, allocations: 224 kB / 1.241 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.8694, allocations: 142.3 kB / 1.241 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.871, allocations: 0.6601 MB / 1.241 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.871, allocations: 4 kB / 1.241 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.871, allocations: 0 / 1.241 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.871, allocations: 3.984 kB / 1.241 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.8746, allocations: 1.94 MB / 1.243 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8747, allocations: 4 kB / 1.243 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.8752, allocations: 99.84 kB / 1.243 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.8752, allocations: 8.125 kB / 1.243 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.8752, allocations: 12 kB / 1.243 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.8752, allocations: 4 kB / 1.243 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.8752, allocations: 11.92 kB / 1.243 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.8767, allocations: 0.8245 MB / 1.244 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.8772, allocations: 295.1 kB / 1.245 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.8774, allocations: 15.98 kB / 1.245 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.8785, allocations: 95.84 kB / 1.245 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.8786, allocations: 35.83 kB / 1.245 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.8786, allocations: 19.98 kB / 1.245 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.4121/1.291, allocations: 0.991 MB / 1.246 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.61e-07/1.291, allocations: 0 / 1.246 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002048/1.293, allocations: 0.5617 MB / 1.246 GB, free: 285.7 MB / 0.9981 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.002064/1.295, allocations: 1.518 MB / 1.248 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002616/1.297, allocations: 1.078 MB / 1.249 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.297, allocations: 1.031 kB / 1.249 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006311/1.298, allocations: 266.8 kB / 1.249 GB, free: 284.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/1.301, allocations: 0.7532 MB / 1.25 GB, free: 284.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.319, allocations: 10.72 MB / 1.26 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/1.319, allocations: 1.187 MB / 1.261 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001609/1.321, allocations: 360.8 kB / 1.262 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/1.321, allocations: 0.4896 MB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.321, allocations: 0.6562 kB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.218/3.539, allocations: 34.17 MB / 1.296 GB, free: 255.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/3.54, allocations: 231.4 kB / 1.296 GB, free: 255.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/6.294, allocations: 3.938 kB / 1.296 GB, free: 255.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches