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.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.0008301/0.0008301, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000913/0.000913, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8658/0.8658, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.692/1.692, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 1.403e-06/1.403e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.15e-05, allocations: 9.453 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001121/0.001143, allocations: 0.5448 MB / 0.951 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001441/0.001287, allocations: 31.83 kB / 0.951 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.001334, allocations: 0 / 0.951 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.001362, allocations: 0 / 0.951 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.001508, allocations: 11.88 kB / 0.951 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.134e-05/0.001559, allocations: 11.92 kB / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.001617, allocations: 11.98 kB / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.001655, allocations: 0 / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.00171, allocations: 7.938 kB / 0.9511 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.001775, allocations: 7.984 kB / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.001795, allocations: 4 kB / 0.9511 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.001803, allocations: 0 / 0.9511 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.001853, allocations: 11.98 kB / 0.9511 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.001874, allocations: 0 / 0.9511 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.876e-05/0.001933, allocations: 11.92 kB / 0.9511 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.001934, allocations: 0 / 0.9511 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.001936, allocations: 4 kB / 0.9511 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.00194, allocations: 0 / 0.9511 GB, free: 2.863 MB / 0.9011 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.0003351/0.002275, allocations: 258.3 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.002312, allocations: 12.03 kB / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.002338, allocations: 30.75 kB / 0.9514 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.002359, allocations: 8.891 kB / 0.9514 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.002503, allocations: 117.7 kB / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.002512, allocations: 4.375 kB / 0.9515 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.002527, allocations: 384 / 0.9515 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.982e-05/0.002597, allocations: 34.25 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.002603, allocations: 192 / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.00261, allocations: 384 / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.002616, allocations: 4.125 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.002633, allocations: 7.984 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.002751, allocations: 124.8 kB / 0.9517 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.002791, allocations: 26.55 kB / 0.9517 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.002808, allocations: 8.922 kB / 0.9517 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.002823, allocations: 0 / 0.9517 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.00284, allocations: 30.56 kB / 0.9518 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.002841, allocations: 0 / 0.9518 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.002968, allocations: 49.62 kB / 0.9518 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.002996, allocations: 59.34 kB / 0.9519 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.00306, allocations: 113.8 kB / 0.952 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.003069, allocations: 25.7 kB / 0.952 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.003098, allocations: 80.27 kB / 0.9521 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.003117, allocations: 4 kB / 0.9521 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.003144, allocations: 21.66 kB / 0.9521 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.003215, allocations: 314.8 kB / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.003229, allocations: 7.984 kB / 0.9524 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.003248, allocations: 17.72 kB / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.003283, allocations: 21.7 kB / 0.9524 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003285, allocations: 0 / 0.9524 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.449e-05/0.003339, allocations: 57.67 kB / 0.9525 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.003353, allocations: 8 kB / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.003357, allocations: 0 / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.003368, allocations: 0 / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.003437, allocations: 7.938 kB / 0.9525 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.003442, allocations: 0 / 0.9525 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.003456, allocations: 0 / 0.9525 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.003462, allocations: 4 kB / 0.9525 GB, free: 1.227 MB / 0.9011 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 5.335e-05/0.003515, allocations: 113.8 kB / 0.9526 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-06/0.00352, allocations: 4 kB / 0.9526 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.003605, allocations: 53.12 kB / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.003607, allocations: 4 kB / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.003611, allocations: 7.875 kB / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.003614, allocations: 0 / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.984e-05/0.003683, allocations: 124.8 kB / 0.9528 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.003684, allocations: 0 / 0.9528 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.003725, allocations: 4 kB / 0.9528 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.003726, allocations: 0 / 0.9528 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.003733, allocations: 3.984 kB / 0.9528 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.003735, allocations: 4 kB / 0.9528 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.003738, allocations: 3.938 kB / 0.9528 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.00383, allocations: 81.05 kB / 0.9529 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.003849, allocations: 8.016 kB / 0.9529 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.00386, allocations: 0 / 0.9529 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-06/0.00387, allocations: 0 / 0.9529 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.003883, allocations: 7.938 kB / 0.9529 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.003886, allocations: 4.25 kB / 0.9529 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.315e-05/0.003919, allocations: 91.27 kB / 0.953 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.003919, allocations: 0 / 0.953 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001264/0.004045, allocations: 4 kB / 0.953 GB, free: 0.6367 MB / 0.9011 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.0002547/0.0043, allocations: 0.6087 MB / 0.9536 GB, free: 0 / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.596e-05/0.004376, allocations: 16.05 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004377, allocations: 3.938 kB / 0.9536 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.004387, allocations: 8 kB / 0.9536 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.004507, allocations: 10.44 kB / 0.9536 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.005186, allocations: 1.147 MB / 0.9548 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.005226, allocations: 63.62 kB / 0.9548 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.005249, allocations: 7.938 kB / 0.9548 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.005283, allocations: 16.62 kB / 0.9548 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.005283, allocations: 0 / 0.9548 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.02215, allocations: 1.845 MB / 0.9566 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.903, allocations: 6 kB / 0.9567 GB, free: 12.9 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.787244200706482]