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.00713/0.00713, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001289/0.00129, allocations: 189 kB / 16.67 MB, free: 5.961 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.11 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.823/0.8243, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2247/1.049, allocations: 237.6 MB / 1.439 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02127/1.07, allocations: 15.79 MB / 1.455 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/1.073, allocations: 63.62 kB / 1.455 GB, free: 15.19 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/1.075, allocations: 1.029 MB / 1.456 GB, free: 14.15 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007201/1.083, allocations: 2.986 MB / 1.459 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003911/1.087, allocations: 1.685 MB / 1.46 GB, free: 9.477 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004181/1.091, allocations: 3.436 MB / 1.464 GB, free: 6.031 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/1.092, allocations: 1.283 MB / 1.465 GB, free: 4.711 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/1.098, allocations: 2.538 MB / 1.467 GB, free: 2.176 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/1.1, allocations: 1.077 MB / 1.468 GB, free: 1.105 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/1.1, allocations: 116 kB / 1.469 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005221/1.106, allocations: 3.094 MB / 1.472 GB, free: 13.89 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005639/1.106, allocations: 482.4 kB / 1.472 GB, free: 13.42 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/1.107, allocations: 0.8046 MB / 1.473 GB, free: 12.61 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004923/1.112, allocations: 2.972 MB / 1.476 GB, free: 9.629 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.112, allocations: 0 / 1.476 GB, free: 9.629 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.432e-06/1.112, allocations: 0 / 1.476 GB, free: 9.629 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.262e-05/1.112, allocations: 0 / 1.476 GB, free: 9.629 MB / 1.201 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.004337/1.117, allocations: 1.997 MB / 1.478 GB, free: 7.578 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.117, allocations: 12.02 kB / 1.478 GB, free: 7.566 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/1.117, allocations: 152.2 kB / 1.478 GB, free: 7.41 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/1.12, allocations: 0.5014 MB / 1.478 GB, free: 6.906 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/1.123, allocations: 1.172 MB / 1.479 GB, free: 5.676 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.123, allocations: 82 kB / 1.48 GB, free: 5.598 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/1.123, allocations: 92 kB / 1.48 GB, free: 5.508 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/1.126, allocations: 1.354 MB / 1.481 GB, free: 4.031 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.126, allocations: 7.938 kB / 1.481 GB, free: 4.023 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/1.126, allocations: 44 kB / 1.481 GB, free: 3.98 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.057e-05/1.126, allocations: 42 kB / 1.481 GB, free: 3.941 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/1.129, allocations: 1.057 MB / 1.482 GB, free: 2.883 MB / 1.201 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.008622/1.137, allocations: 7.375 MB / 1.489 GB, free: 11.03 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/1.139, allocations: 0.5442 MB / 1.49 GB, free: 10.48 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/1.14, allocations: 261.2 kB / 1.49 GB, free: 10.22 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/1.14, allocations: 287.5 kB / 1.49 GB, free: 9.887 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.14, allocations: 42.78 kB / 1.49 GB, free: 9.836 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/1.14, allocations: 8 kB / 1.49 GB, free: 9.828 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.00233/1.142, allocations: 0.83 MB / 1.491 GB, free: 8.992 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/1.142, allocations: 55.41 kB / 1.491 GB, free: 8.926 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/1.144, allocations: 1.395 MB / 1.493 GB, free: 7.52 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/1.144, allocations: 33.7 kB / 1.493 GB, free: 7.48 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/1.145, allocations: 0.7065 MB / 1.493 GB, free: 6.77 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/1.145, allocations: 114.5 kB / 1.493 GB, free: 6.656 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/1.145, allocations: 166.3 kB / 1.494 GB, free: 6.488 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.145, allocations: 334 kB / 1.494 GB, free: 6.156 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/1.146, allocations: 316.5 kB / 1.494 GB, free: 5.844 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/1.147, allocations: 0.6853 MB / 1.495 GB, free: 4.98 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/1.149, allocations: 0.9259 MB / 1.496 GB, free: 3.895 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/1.149, allocations: 4 kB / 1.496 GB, free: 3.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002207/1.151, allocations: 1.054 MB / 1.497 GB, free: 2.828 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.151, allocations: 13.88 kB / 1.497 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.151, allocations: 8 kB / 1.497 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/1.151, allocations: 16 kB / 1.497 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/1.152, allocations: 204.3 kB / 1.497 GB, free: 2.594 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/1.152, allocations: 27.91 kB / 1.497 GB, free: 2.566 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.153, allocations: 186 kB / 1.497 GB, free: 2.387 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/1.153, allocations: 40.05 kB / 1.497 GB, free: 2.348 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0011/1.155, allocations: 0.5682 MB / 1.498 GB, free: 1.777 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009718/1.156, allocations: 0.6852 MB / 1.499 GB, free: 0.918 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001583/1.157, allocations: 0.9293 MB / 1.499 GB, free: 15.83 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.692e-06/1.157, allocations: 0 / 1.499 GB, free: 15.83 MB / 1.232 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002169/1.159, allocations: 1.058 MB / 1.5 GB, free: 14.76 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.159, allocations: 8.156 kB / 1.5 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.159, allocations: 16 kB / 1.5 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.159, allocations: 16 kB / 1.5 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/1.16, allocations: 203.6 kB / 1.501 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/1.16, allocations: 27.92 kB / 1.501 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.161, allocations: 131.4 kB / 1.501 GB, free: 14.37 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/1.162, allocations: 43.98 kB / 1.501 GB, free: 14.32 MB / 1.232 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.0002017/1.162, allocations: 232 kB / 1.501 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/1.162, allocations: 142.2 kB / 1.501 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/1.163, allocations: 0.6448 MB / 1.502 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/1.163, allocations: 4 kB / 1.502 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.163, allocations: 3.984 kB / 1.502 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.163, allocations: 0 / 1.502 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/1.167, allocations: 1.886 MB / 1.504 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.167, allocations: 7.938 kB / 1.504 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/1.167, allocations: 99.95 kB / 1.504 GB, free: 11.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.167, allocations: 8 kB / 1.504 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/1.167, allocations: 11.98 kB / 1.504 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/1.167, allocations: 12 kB / 1.504 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.167, allocations: 4 kB / 1.504 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/1.169, allocations: 0.8071 MB / 1.505 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/1.169, allocations: 295.1 kB / 1.505 GB, free: 9.957 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/1.169, allocations: 11.98 kB / 1.505 GB, free: 9.945 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/1.17, allocations: 67.92 kB / 1.505 GB, free: 9.879 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/1.171, allocations: 27.91 kB / 1.505 GB, free: 9.852 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/1.171, allocations: 27.98 kB / 1.505 GB, free: 9.824 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001386/1.172, allocations: 1.009 MB / 1.506 GB, free: 8.82 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.9e-07/1.172, allocations: 0 / 1.506 GB, free: 8.82 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001674/1.174, allocations: 0.5774 MB / 1.507 GB, free: 8.242 MB / 1.232 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.002076/1.176, allocations: 1.52 MB / 1.508 GB, free: 6.656 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002596/1.178, allocations: 1.125 MB / 1.509 GB, free: 5.535 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.178, allocations: 0 / 1.509 GB, free: 5.535 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/1.179, allocations: 253.5 kB / 1.509 GB, free: 5.289 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/1.182, allocations: 0.7379 MB / 1.51 GB, free: 4.555 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/1.2, allocations: 9.804 MB / 1.52 GB, free: 10.21 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008986/1.201, allocations: 1.182 MB / 1.521 GB, free: 9 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001442/1.202, allocations: 391.8 kB / 1.521 GB, free: 8.613 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006594/1.203, allocations: 495.3 kB / 1.522 GB, free: 8.129 MB / 1.248 GB Notification: Performance of SimCode: time 8.21e-07/1.203, allocations: 0 / 1.522 GB, free: 8.129 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06219/1.265, allocations: 36.22 MB / 1.557 GB, free: 4.352 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.586/10.85, allocations: 5.5 kB / 1.557 GB, free: 4.348 MB / 1.279 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