Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.00169/0.00169, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001948/0.001948, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 3.397/3.397, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] 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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",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.002035/0.002035, allocations: 72.64 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3995, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003223/0.4027, allocations: 1.358 MB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5877, allocations: 151.4 MB / 1.502 GB, free: 15.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.5878, allocations: 0 / 1.502 GB, free: 15.12 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 4.551e-05/0.5879, allocations: 3.984 kB / 1.502 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.588, allocations: 23.84 kB / 1.502 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.5893, allocations: 330.6 kB / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.5894, allocations: 71.69 kB / 1.502 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.5894, allocations: 4 kB / 1.502 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.5895, allocations: 31.91 kB / 1.502 GB, free: 14.66 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.5896, allocations: 35.89 kB / 1.502 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.5897, allocations: 4 kB / 1.502 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.5907, allocations: 446.9 kB / 1.503 GB, free: 14.18 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.5907, allocations: 15.98 kB / 1.503 GB, free: 14.17 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.5908, allocations: 27.86 kB / 1.503 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.5912, allocations: 171.4 kB / 1.503 GB, free: 13.97 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5912, allocations: 0 / 1.503 GB, free: 13.97 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5912, allocations: 0 / 1.503 GB, free: 13.97 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5912, allocations: 0 / 1.503 GB, free: 13.97 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004791/0.5917, allocations: 306 kB / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5917, allocations: 12.03 kB / 1.503 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.5918, allocations: 42.73 kB / 1.503 GB, free: 13.58 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.5922, allocations: 36.86 kB / 1.504 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.5923, allocations: 114.2 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5923, allocations: 4 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.5923, allocations: 11.95 kB / 1.504 GB, free: 13.39 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.5925, allocations: 81.58 kB / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5925, allocations: 3.938 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5925, allocations: 4 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5925, allocations: 0 / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.5926, allocations: 51.95 kB / 1.504 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.5929, allocations: 160.6 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.593, allocations: 86.64 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.5931, allocations: 24.84 kB / 1.504 GB, free: 12.93 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.5933, allocations: 31.97 kB / 1.504 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.5933, allocations: 34.55 kB / 1.504 GB, free: 12.86 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.5933, allocations: 4 kB / 1.504 GB, free: 12.85 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001389/0.5947, allocations: 483.5 kB / 1.505 GB, free: 12.35 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5948, allocations: 51.41 kB / 1.505 GB, free: 12.29 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.5949, allocations: 101.8 kB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5949, allocations: 33.64 kB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.5949, allocations: 80.52 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.595, allocations: 71.39 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.5951, allocations: 41.7 kB / 1.505 GB, free: 11.94 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5952, allocations: 323 kB / 1.505 GB, free: 11.61 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.5953, allocations: 35.98 kB / 1.505 GB, free: 11.58 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.394e-05/0.5954, allocations: 64.42 kB / 1.505 GB, free: 11.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.5956, allocations: 123.3 kB / 1.505 GB, free: 11.37 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5956, allocations: 0 / 1.505 GB, free: 11.37 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002451/0.5958, allocations: 153.5 kB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5958, allocations: 9.562 kB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5958, allocations: 7.938 kB / 1.506 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5958, allocations: 0 / 1.506 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.596, allocations: 43.92 kB / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.596, allocations: 11.92 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.5961, allocations: 0 / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.5961, allocations: 8 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001188/0.5962, allocations: 129.7 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.5962, allocations: 7.953 kB / 1.506 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.5963, allocations: 20.47 kB / 1.506 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5963, allocations: 4 kB / 1.506 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5963, allocations: 4.062 kB / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5963, allocations: 0 / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.5965, allocations: 164.7 kB / 1.506 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5965, allocations: 3.984 kB / 1.506 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.5967, allocations: 43.92 kB / 1.506 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5967, allocations: 0 / 1.506 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.5967, allocations: 0 / 1.506 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5967, allocations: 3.938 kB / 1.506 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5968, allocations: 3.938 kB / 1.506 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.5971, allocations: 216.1 kB / 1.506 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.5971, allocations: 7.984 kB / 1.506 GB, free: 10.47 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.5972, allocations: 12.05 kB / 1.506 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.5973, allocations: 4 kB / 1.506 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.5973, allocations: 19.88 kB / 1.506 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.5973, allocations: 7.984 kB / 1.506 GB, free: 10.43 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.5974, allocations: 83.28 kB / 1.506 GB, free: 10.35 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5974, allocations: 0 / 1.506 GB, free: 10.35 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002287/0.5976, allocations: 28 kB / 1.506 GB, free: 10.32 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0006794/0.5983, allocations: 0.7411 MB / 1.507 GB, free: 9.547 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.5985, allocations: 101.8 kB / 1.507 GB, free: 9.449 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5985, allocations: 0 / 1.507 GB, free: 9.449 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.5986, allocations: 55.81 kB / 1.507 GB, free: 9.395 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.5989, allocations: 19.92 kB / 1.507 GB, free: 9.375 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.601, allocations: 1.836 MB / 1.509 GB, free: 7.441 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.6014, allocations: 0.6969 MB / 1.51 GB, free: 6.719 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.6015, allocations: 28.62 kB / 1.51 GB, free: 6.691 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.6016, allocations: 27.42 kB / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of SimCode: time 8.02e-07/0.6016, allocations: 0 / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.6339, allocations: 2.641 MB / 1.512 GB, free: 4.148 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.86, allocations: 3.938 kB / 1.512 GB, free: 4.145 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.816160071874037]