Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.91 kB / 1.104 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7699/0.7719, allocations: 168.7 MB / 1.269 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00167/0.7736, allocations: 0.5367 MB / 1.269 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.7738, allocations: 49.75 kB / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.7738, allocations: 7.875 kB / 1.269 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.7738, allocations: 0 / 1.269 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.774, allocations: 0 / 1.269 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.048e-05/0.774, allocations: 7.938 kB / 1.269 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.7741, allocations: 11.98 kB / 1.269 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.7741, allocations: 4 kB / 1.269 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.7742, allocations: 7.984 kB / 1.269 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.7743, allocations: 11.92 kB / 1.269 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.7743, allocations: 4 kB / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.7743, allocations: 0 / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.7743, allocations: 0 / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.7743, allocations: 11.94 kB / 1.269 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.56e-05/0.7744, allocations: 13.8 kB / 1.269 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7744, allocations: 0 / 1.269 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7744, allocations: 3.938 kB / 1.269 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.7744, allocations: 0 / 1.269 GB, free: 4.547 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004534/0.7749, allocations: 341.7 kB / 1.27 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.7749, allocations: 11.97 kB / 1.27 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.775, allocations: 34.73 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.984e-05/0.775, allocations: 0.9375 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.7752, allocations: 172.3 kB / 1.27 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.7752, allocations: 384 / 1.27 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.7752, allocations: 384 / 1.27 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.7753, allocations: 34.25 kB / 1.27 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7753, allocations: 3.938 kB / 1.27 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.7753, allocations: 4 kB / 1.27 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.7753, allocations: 0 / 1.27 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.7753, allocations: 11.94 kB / 1.27 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.7755, allocations: 153.7 kB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.7755, allocations: 26.56 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.7756, allocations: 4.859 kB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.7756, allocations: 4.062 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.7756, allocations: 34.56 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.7756, allocations: 0 / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.7757, allocations: 45.56 kB / 1.27 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.7758, allocations: 55.39 kB / 1.27 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.7759, allocations: 113.8 kB / 1.27 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.7759, allocations: 25.7 kB / 1.27 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.7759, allocations: 84.14 kB / 1.27 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.7759, allocations: 4.062 kB / 1.27 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.776, allocations: 21.67 kB / 1.271 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7761, allocations: 314.8 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.7761, allocations: 3.984 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.7761, allocations: 13.97 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.7762, allocations: 29.64 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7762, allocations: 8.062 kB / 1.271 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.207e-05/0.7763, allocations: 41.69 kB / 1.271 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7763, allocations: 11.94 kB / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.7763, allocations: 0 / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.7763, allocations: 0 / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.7763, allocations: 4 kB / 1.271 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7763, allocations: 3.938 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.7764, allocations: 0 / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.7764, allocations: 4 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.276e-05/0.7764, allocations: 117.9 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.7765, allocations: 7.938 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.453e-05/0.7766, allocations: 49.16 kB / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.7766, allocations: 0 / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7766, allocations: 4 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.7766, allocations: 3.938 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.7767, allocations: 153.7 kB / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7767, allocations: 0 / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.7767, allocations: 7.984 kB / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7767, allocations: 7.969 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.7767, allocations: 0 / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.7767, allocations: 3.938 kB / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7767, allocations: 0 / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.7769, allocations: 81.06 kB / 1.271 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.7769, allocations: 81.09 kB / 1.271 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.7769, allocations: 7.969 kB / 1.271 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.777, allocations: 4.094 kB / 1.271 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.777, allocations: 0 / 1.271 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.777, allocations: 0 / 1.271 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.777, allocations: 91.27 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.777, allocations: 0 / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001793/0.7772, allocations: 4 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004217/0.7776, allocations: 0.6207 MB / 1.272 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.7777, allocations: 11.98 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7777, allocations: 0 / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.7777, allocations: 15.94 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.7779, allocations: 4 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.7789, allocations: 1.147 MB / 1.273 GB, free: 80 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.7792, allocations: 0.6807 MB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.7792, allocations: 7.984 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.7792, allocations: 11.44 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7792, allocations: 0 / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.8025, allocations: 1.209 MB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.453, allocations: 15.08 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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: 14.363796978723258]