Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002311/0.002311, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.28/3.28, allocations: 0.49 GB / 0.7951 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_12_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.002152/0.002152, allocations: 69.84 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3909, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2885/0.6794, allocations: 242.3 MB / 1.563 GB, free: 14.76 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.0239/0.7033, allocations: 15.92 MB / 1.578 GB, free: 14.79 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.7055, allocations: 87.25 kB / 1.578 GB, free: 14.7 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.7085, allocations: 1.08 MB / 1.579 GB, free: 13.62 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008091/0.7165, allocations: 3.137 MB / 1.582 GB, free: 10.47 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00458/0.7211, allocations: 1.732 MB / 1.584 GB, free: 8.746 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005886/0.727, allocations: 3.48 MB / 1.587 GB, free: 5.254 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.7292, allocations: 1.003 MB / 1.588 GB, free: 4.211 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008612/0.7378, allocations: 2.896 MB / 1.591 GB, free: 1.32 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/0.7407, allocations: 1.133 MB / 1.592 GB, free: 196 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005186/0.7413, allocations: 124 kB / 1.592 GB, free: 72 kB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007091/0.7483, allocations: 3.266 MB / 1.596 GB, free: 12.8 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008736/0.7492, allocations: 494.2 kB / 1.596 GB, free: 12.31 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.7509, allocations: 0.8045 MB / 1.597 GB, free: 11.5 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.006291/0.7572, allocations: 2.994 MB / 1.6 GB, free: 8.5 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7572, allocations: 0 / 1.6 GB, free: 8.5 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7572, allocations: 0 / 1.6 GB, free: 8.5 MB / 1.295 GB Notification: Performance of Transformations before backend: time 7.626e-05/0.7573, allocations: 0 / 1.6 GB, free: 8.5 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.004854/0.7621, allocations: 1.993 MB / 1.602 GB, free: 6.465 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.7622, allocations: 12.03 kB / 1.602 GB, free: 6.453 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002576/0.7624, allocations: 156.2 kB / 1.602 GB, free: 6.293 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.7654, allocations: 0.5063 MB / 1.602 GB, free: 5.785 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.7682, allocations: 1.113 MB / 1.603 GB, free: 4.625 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.7683, allocations: 85.98 kB / 1.604 GB, free: 4.539 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.7685, allocations: 92 kB / 1.604 GB, free: 4.449 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.7712, allocations: 1.354 MB / 1.605 GB, free: 2.977 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.7712, allocations: 3.938 kB / 1.605 GB, free: 2.973 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.7713, allocations: 47.98 kB / 1.605 GB, free: 2.926 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/0.7714, allocations: 45.98 kB / 1.605 GB, free: 2.879 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.774, allocations: 1.05 MB / 1.606 GB, free: 1.828 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.646/1.42, allocations: 7.392 MB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/1.422, allocations: 0.5215 MB / 1.614 GB, free: 278.6 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/1.422, allocations: 257.3 kB / 1.614 GB, free: 278.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/1.423, allocations: 56.64 kB / 1.614 GB, free: 278.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/1.423, allocations: 32.75 kB / 1.614 GB, free: 278.5 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/1.423, allocations: 0 / 1.614 GB, free: 278.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.002474/1.425, allocations: 0.8539 MB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/1.425, allocations: 58.59 kB / 1.615 GB, free: 278.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/1.427, allocations: 1.4 MB / 1.616 GB, free: 277.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/1.427, allocations: 32.39 kB / 1.616 GB, free: 277.6 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/1.428, allocations: 0.7163 MB / 1.617 GB, free: 277.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.428, allocations: 131.8 kB / 1.617 GB, free: 277 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/1.428, allocations: 162.8 kB / 1.617 GB, free: 277 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/1.428, allocations: 334.1 kB / 1.618 GB, free: 276.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000845/1.429, allocations: 314.9 kB / 1.618 GB, free: 276.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.43, allocations: 0.6857 MB / 1.619 GB, free: 276 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/1.432, allocations: 0.9254 MB / 1.62 GB, free: 275.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.432, allocations: 3.594 kB / 1.62 GB, free: 275.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00232/1.434, allocations: 1.061 MB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.434, allocations: 13.61 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.434, allocations: 11.16 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/1.434, allocations: 16.03 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/1.435, allocations: 205.5 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/1.435, allocations: 22.84 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.436, allocations: 183.3 kB / 1.621 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/1.437, allocations: 47.86 kB / 1.621 GB, free: 274.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001227/1.438, allocations: 0.5612 MB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001029/1.439, allocations: 0.6962 MB / 1.622 GB, free: 274.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001651/1.44, allocations: 0.9243 MB / 1.623 GB, free: 273.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.488e-06/1.44, allocations: 4.219 kB / 1.623 GB, free: 273.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002999/1.443, allocations: 1.056 MB / 1.624 GB, free: 273.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.443, allocations: 17.42 kB / 1.624 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.443, allocations: 13.09 kB / 1.624 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/1.444, allocations: 14.89 kB / 1.624 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/1.444, allocations: 204.5 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/1.444, allocations: 25.77 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/1.446, allocations: 130.1 kB / 1.625 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.446, allocations: 45.97 kB / 1.625 GB, free: 273 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.0003459/1.447, allocations: 236.6 kB / 1.625 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/1.447, allocations: 147.4 kB / 1.625 GB, free: 272.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.449, allocations: 0.6459 MB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.449, allocations: 3.875 kB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.449, allocations: 0.5 kB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.449, allocations: 2.547 kB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/1.453, allocations: 1.868 MB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.453, allocations: 4.156 kB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/1.454, allocations: 90.97 kB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/1.454, allocations: 6.578 kB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/1.454, allocations: 12.2 kB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.454, allocations: 10.09 kB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.454, allocations: 4.672 kB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.455, allocations: 0.8102 MB / 1.628 GB, free: 271.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/1.456, allocations: 228.4 kB / 1.629 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/1.456, allocations: 11.27 kB / 1.629 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/1.457, allocations: 70.33 kB / 1.629 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/1.457, allocations: 40.86 kB / 1.629 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/1.457, allocations: 23.98 kB / 1.629 GB, free: 270.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001591/1.459, allocations: 1.01 MB / 1.63 GB, free: 270.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.459, allocations: 1.859 kB / 1.63 GB, free: 270.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001908/1.461, allocations: 0.576 MB / 1.63 GB, free: 270.5 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.001952/1.463, allocations: 1.508 MB / 1.632 GB, free: 269.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002868/1.466, allocations: 1.09 MB / 1.633 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.466, allocations: 0.9375 kB / 1.633 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/1.466, allocations: 248.8 kB / 1.633 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/1.47, allocations: 0.7416 MB / 1.634 GB, free: 268.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.486, allocations: 9.874 MB / 1.643 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/1.486, allocations: 1.183 MB / 1.645 GB, free: 263 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001463/1.488, allocations: 392.9 kB / 1.645 GB, free: 262.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/1.488, allocations: 0.4918 MB / 1.646 GB, free: 262.5 MB / 1.295 GB Notification: Performance of SimCode: time 7.02e-07/1.488, allocations: 0 / 1.646 GB, free: 262.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09567/1.584, allocations: 36.37 MB / 1.681 GB, free: 231.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/16, allocations: 7.766 kB / 1.681 GB, free: 231.1 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.132540800841525]