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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 214.5 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.297/1.297, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.906/2.906, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.73 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.272, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2308/0.5028, allocations: 211.1 MB / 1.57 GB, free: 10.15 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.5228, allocations: 14.61 MB / 1.584 GB, free: 11.5 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.5245, allocations: 87.25 kB / 1.584 GB, free: 11.41 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.5269, allocations: 1.006 MB / 1.585 GB, free: 10.4 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.006945/0.5338, allocations: 3.095 MB / 1.588 GB, free: 7.297 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.5377, allocations: 1.708 MB / 1.59 GB, free: 5.598 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004288/0.542, allocations: 3.452 MB / 1.593 GB, free: 2.133 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.5436, allocations: 0.9988 MB / 1.594 GB, free: 1.098 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006332/0.55, allocations: 2.875 MB / 1.597 GB, free: 14.22 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.552, allocations: 1.073 MB / 1.598 GB, free: 13.16 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.5523, allocations: 120 kB / 1.598 GB, free: 13.04 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004791/0.5571, allocations: 2.54 MB / 1.6 GB, free: 10.49 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0006729/0.5578, allocations: 490.2 kB / 1.601 GB, free: 10.01 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.5589, allocations: 0.6492 MB / 1.601 GB, free: 9.359 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.564, allocations: 2.931 MB / 1.604 GB, free: 6.418 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.564, allocations: 0 / 1.604 GB, free: 6.418 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.694e-06/0.564, allocations: 0 / 1.604 GB, free: 6.418 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.93e-05/0.5641, allocations: 0 / 1.604 GB, free: 6.418 MB / 1.295 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.003884/0.5679, allocations: 1.985 MB / 1.606 GB, free: 4.391 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.568, allocations: 12.03 kB / 1.606 GB, free: 4.379 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.5682, allocations: 152.2 kB / 1.606 GB, free: 4.223 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.5708, allocations: 0.5102 MB / 1.607 GB, free: 3.711 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.5733, allocations: 1.125 MB / 1.608 GB, free: 2.539 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.5734, allocations: 74 kB / 1.608 GB, free: 2.465 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.5735, allocations: 100 kB / 1.608 GB, free: 2.367 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.5759, allocations: 1.454 MB / 1.61 GB, free: 0.7695 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.576, allocations: 7.938 kB / 1.61 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/0.576, allocations: 44 kB / 1.61 GB, free: 0.7188 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.5761, allocations: 41.98 kB / 1.61 GB, free: 0.6758 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5355/1.112, allocations: 1.053 MB / 1.611 GB, free: 249.2 MB / 1.295 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.00623/1.118, allocations: 5.976 MB / 1.617 GB, free: 245.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.119, allocations: 0.5169 MB / 1.617 GB, free: 245.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/1.12, allocations: 251.9 kB / 1.617 GB, free: 245.4 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/1.12, allocations: 56.52 kB / 1.617 GB, free: 245.4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/1.12, allocations: 37.83 kB / 1.617 GB, free: 245.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/1.12, allocations: 0.6875 kB / 1.617 GB, free: 245.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.002317/1.122, allocations: 0.8556 MB / 1.618 GB, free: 245 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/1.122, allocations: 55.34 kB / 1.618 GB, free: 245 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.124, allocations: 1.416 MB / 1.62 GB, free: 244.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/1.124, allocations: 33.02 kB / 1.62 GB, free: 244.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/1.125, allocations: 0.7223 MB / 1.62 GB, free: 243.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/1.125, allocations: 135.6 kB / 1.621 GB, free: 243.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.125, allocations: 163.2 kB / 1.621 GB, free: 243.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/1.125, allocations: 338.3 kB / 1.621 GB, free: 243.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/1.126, allocations: 312.1 kB / 1.621 GB, free: 243.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/1.127, allocations: 0.962 MB / 1.622 GB, free: 242.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/1.129, allocations: 0.9238 MB / 1.623 GB, free: 241.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/1.129, allocations: 3.719 kB / 1.623 GB, free: 241.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002286/1.131, allocations: 1.066 MB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.131, allocations: 10.62 kB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.131, allocations: 12.19 kB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.131, allocations: 15.28 kB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007893/1.132, allocations: 203.7 kB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.132, allocations: 22.89 kB / 1.624 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.133, allocations: 182.2 kB / 1.625 GB, free: 241.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/1.133, allocations: 41.09 kB / 1.625 GB, free: 241.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001082/1.134, allocations: 0.5703 MB / 1.625 GB, free: 241.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008964/1.135, allocations: 0.973 MB / 1.626 GB, free: 240.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001407/1.137, allocations: 0.9244 MB / 1.627 GB, free: 239.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.613e-06/1.137, allocations: 4.609 kB / 1.627 GB, free: 239.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002197/1.139, allocations: 1.058 MB / 1.628 GB, free: 239.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/1.139, allocations: 9.344 kB / 1.628 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.139, allocations: 11.84 kB / 1.628 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.139, allocations: 16.72 kB / 1.628 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/1.14, allocations: 200.5 kB / 1.628 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/1.14, allocations: 22.52 kB / 1.628 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.141, allocations: 133.7 kB / 1.628 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/1.141, allocations: 48.3 kB / 1.629 GB, free: 239.1 MB / 1.295 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.0002004/1.141, allocations: 240.6 kB / 1.629 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/1.141, allocations: 147.5 kB / 1.629 GB, free: 238.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/1.143, allocations: 0.6443 MB / 1.63 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.143, allocations: 4.953 kB / 1.63 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.143, allocations: 0.6094 kB / 1.63 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.143, allocations: 2.828 kB / 1.63 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/1.146, allocations: 1.755 MB / 1.631 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.146, allocations: 4.422 kB / 1.631 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/1.147, allocations: 93.12 kB / 1.631 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/1.147, allocations: 9.438 kB / 1.631 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/1.147, allocations: 13.16 kB / 1.631 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.147, allocations: 7.078 kB / 1.631 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.147, allocations: 12.34 kB / 1.631 GB, free: 237.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/1.148, allocations: 0.8084 MB / 1.632 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/1.149, allocations: 226 kB / 1.632 GB, free: 237.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/1.149, allocations: 11.17 kB / 1.632 GB, free: 237.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000911/1.15, allocations: 67.44 kB / 1.632 GB, free: 237.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/1.15, allocations: 40.48 kB / 1.632 GB, free: 237.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.15, allocations: 24.05 kB / 1.633 GB, free: 237.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001239/1.151, allocations: 1.011 MB / 1.634 GB, free: 236.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.151, allocations: 0 / 1.634 GB, free: 236.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001578/1.153, allocations: 0.5802 MB / 1.634 GB, free: 236.6 MB / 1.295 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.001737/1.154, allocations: 1.508 MB / 1.636 GB, free: 235.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002503/1.157, allocations: 1.079 MB / 1.637 GB, free: 235.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.157, allocations: 1.375 kB / 1.637 GB, free: 235.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/1.157, allocations: 247.4 kB / 1.637 GB, free: 235.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.16, allocations: 0.7457 MB / 1.638 GB, free: 235 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.174, allocations: 9.875 MB / 1.647 GB, free: 229.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/1.175, allocations: 0.5988 MB / 1.648 GB, free: 229.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001342/1.176, allocations: 390.8 kB / 1.648 GB, free: 229.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/1.177, allocations: 0.4883 MB / 1.649 GB, free: 229.3 MB / 1.295 GB Notification: Performance of SimCode: time 8.32e-07/1.177, allocations: 4 kB / 1.649 GB, free: 229.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05947/1.236, allocations: 39.25 MB / 1.687 GB, free: 198 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.77, allocations: 10.73 kB / 1.687 GB, free: 198 MB / 1.295 GB " [Timeout remaining time 287] (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 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.679410398937762]