Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.0008685/0.0008685, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001108/0.001108, allocations: 165.9 kB / 22.46 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.8452/0.8452, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 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 1.68/1.68, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.163e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001114/0.001136, allocations: 0.5285 MB / 1 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001113/0.001247, allocations: 15.92 kB / 1 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.00127, allocations: 0 / 1 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.001284, allocations: 7.938 kB / 1 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.001422, allocations: 4 kB / 1 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.001426, allocations: 0 / 1 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.001485, allocations: 11.92 kB / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.001524, allocations: 0 / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.001574, allocations: 0 / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.00161, allocations: 7.938 kB / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.001625, allocations: 0 / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-06/0.001632, allocations: 0 / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.001642, allocations: 0 / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.243e-05/0.001654, allocations: 0 / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 4.765e-05/0.001702, allocations: 11.98 kB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.001704, allocations: 0 / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.02e-07/0.001705, allocations: 0 / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.001709, allocations: 0 / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002285/0.001938, allocations: 242.4 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.001979, allocations: 8.75 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.00201, allocations: 34.75 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.002028, allocations: 0.9375 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.266e-05/0.002091, allocations: 101.8 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.0021, allocations: 384 / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.002108, allocations: 8.375 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.002199, allocations: 51.91 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.002207, allocations: 192 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.002215, allocations: 384 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.00222, allocations: 4.125 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.00224, allocations: 7.938 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.002357, allocations: 129.7 kB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.401e-05/0.002401, allocations: 33.22 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.002416, allocations: 13.72 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.002439, allocations: 4 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.00246, allocations: 42.56 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.002461, allocations: 0 / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001265/0.002587, allocations: 45.58 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.00263, allocations: 85.05 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.002675, allocations: 93.86 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.002685, allocations: 29.64 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.002704, allocations: 80.14 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.002726, allocations: 0 / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.002751, allocations: 22.05 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.002829, allocations: 318.8 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.002841, allocations: 7.938 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.002853, allocations: 9.719 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.002879, allocations: 21.72 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.002881, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.67e-05/0.002928, allocations: 41.62 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.002941, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.002946, allocations: 4.125 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.002958, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.003024, allocations: 7.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.003029, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.00304, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.003046, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 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.332e-05/0.0031, allocations: 113.8 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-06/0.003105, allocations: 0 / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.873e-05/0.003194, allocations: 48.62 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.003197, allocations: 8.062 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.003204, allocations: 7.922 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.003206, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.995e-05/0.003266, allocations: 116.8 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.003267, allocations: 0 / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.003282, allocations: 4 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.003284, allocations: 7.922 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.00329, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.003291, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.003295, allocations: 11.86 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.21e-05/0.003347, allocations: 70 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.003388, allocations: 4 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.003398, allocations: 3.984 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-06/0.003405, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.003418, allocations: 3.938 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.003421, allocations: 4 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.121e-05/0.003442, allocations: 79.28 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003442, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001233/0.003566, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002334/0.003799, allocations: 0.6055 MB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.003864, allocations: 8 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.003866, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-06/0.003872, allocations: 15.86 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.003981, allocations: 10.19 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.004235, allocations: 114.9 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.004268, allocations: 59.34 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.836e-05/0.004286, allocations: 4.281 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.004322, allocations: 16.5 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of SimCode: time 3.41e-07/0.004322, allocations: 0 / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.01795, allocations: 1.557 MB / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.379/6.397, allocations: 5.938 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.219694333150983]