Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001713/0.001713, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002279/0.002279, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="cs",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.002028/0.002028, allocations: 64.48 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002578/0.383, allocations: 1.368 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1915/0.5745, allocations: 151.4 MB / 1.433 GB, free: 2.352 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.5746, allocations: 0 / 1.433 GB, free: 2.352 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.5746, allocations: 0 / 1.433 GB, free: 2.352 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.5747, allocations: 19.84 kB / 1.433 GB, free: 2.332 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.5758, allocations: 334.6 kB / 1.434 GB, free: 2.004 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.5759, allocations: 63.77 kB / 1.434 GB, free: 1.941 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.576, allocations: 12 kB / 1.434 GB, free: 1.93 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.576, allocations: 27.92 kB / 1.434 GB, free: 1.902 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.5762, allocations: 31.89 kB / 1.434 GB, free: 1.871 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.5762, allocations: 4 kB / 1.434 GB, free: 1.867 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008943/0.5771, allocations: 442.5 kB / 1.434 GB, free: 1.438 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.5771, allocations: 19.91 kB / 1.434 GB, free: 1.418 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.5772, allocations: 31.92 kB / 1.434 GB, free: 1.387 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.5775, allocations: 163.6 kB / 1.434 GB, free: 1.23 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5775, allocations: 0 / 1.434 GB, free: 1.23 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5775, allocations: 0 / 1.434 GB, free: 1.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5775, allocations: 0 / 1.434 GB, free: 1.23 MB / 1.123 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.0005343/0.5781, allocations: 314 kB / 1.435 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5781, allocations: 8.031 kB / 1.435 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.5781, allocations: 8.188 kB / 1.435 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.5782, allocations: 38.69 kB / 1.435 GB, free: 0.832 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.5786, allocations: 40.86 kB / 1.435 GB, free: 0.793 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.5787, allocations: 110.1 kB / 1.435 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5787, allocations: 8 kB / 1.435 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.5788, allocations: 8 kB / 1.435 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.579, allocations: 77.59 kB / 1.435 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.579, allocations: 0 / 1.435 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.579, allocations: 4 kB / 1.435 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.579, allocations: 0 / 1.435 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.5791, allocations: 55.89 kB / 1.435 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.5794, allocations: 168.5 kB / 1.435 GB, free: 304 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.5796, allocations: 82.62 kB / 1.435 GB, free: 212 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.5796, allocations: 28.84 kB / 1.435 GB, free: 180 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.5798, allocations: 24.31 kB / 1.435 GB, free: 156 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.5799, allocations: 42.5 kB / 1.435 GB, free: 104 kB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.5799, allocations: 0 / 1.435 GB, free: 104 kB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001434/0.5813, allocations: 477.1 kB / 1.436 GB, free: 15.6 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.5814, allocations: 55.34 kB / 1.436 GB, free: 15.54 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.5814, allocations: 105.8 kB / 1.436 GB, free: 15.42 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.5815, allocations: 29.7 kB / 1.436 GB, free: 15.39 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.5815, allocations: 84.52 kB / 1.436 GB, free: 15.3 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.5816, allocations: 71.38 kB / 1.436 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.5817, allocations: 33.72 kB / 1.436 GB, free: 15.19 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5818, allocations: 327 kB / 1.437 GB, free: 14.86 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.5819, allocations: 35.98 kB / 1.437 GB, free: 14.83 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-05/0.582, allocations: 67.41 kB / 1.437 GB, free: 14.75 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.5822, allocations: 115.3 kB / 1.437 GB, free: 14.62 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5822, allocations: 0 / 1.437 GB, free: 14.62 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002317/0.5824, allocations: 157.6 kB / 1.437 GB, free: 14.46 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5824, allocations: 12 kB / 1.437 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5824, allocations: 80 / 1.437 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5824, allocations: 4 kB / 1.437 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5826, allocations: 35.92 kB / 1.437 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.5826, allocations: 11.92 kB / 1.437 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.5827, allocations: 4 kB / 1.437 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5827, allocations: 11.98 kB / 1.437 GB, free: 14.39 MB / 1.139 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.0001116/0.5828, allocations: 123.1 kB / 1.437 GB, free: 14.26 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.5828, allocations: 7.953 kB / 1.437 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.5829, allocations: 20.47 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5829, allocations: 7.984 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5829, allocations: 3.938 kB / 1.437 GB, free: 14.22 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5829, allocations: 0 / 1.437 GB, free: 14.22 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5831, allocations: 164.7 kB / 1.437 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5831, allocations: 0 / 1.437 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.5833, allocations: 35.98 kB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5833, allocations: 0 / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5833, allocations: 12.06 kB / 1.437 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5833, allocations: 4 kB / 1.437 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5833, allocations: 3.938 kB / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.5836, allocations: 207 kB / 1.438 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.5837, allocations: 16 kB / 1.438 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.5837, allocations: 11.88 kB / 1.438 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.5838, allocations: 8 kB / 1.438 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.5838, allocations: 15.91 kB / 1.438 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5839, allocations: 8 kB / 1.438 GB, free: 13.69 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.5839, allocations: 79.28 kB / 1.438 GB, free: 13.61 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5839, allocations: 0 / 1.438 GB, free: 13.61 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002216/0.5841, allocations: 28 kB / 1.438 GB, free: 13.58 MB / 1.139 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.0006543/0.5848, allocations: 0.7577 MB / 1.438 GB, free: 12.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.585, allocations: 100 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.585, allocations: 3.938 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.5851, allocations: 51.91 kB / 1.439 GB, free: 12.64 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.5854, allocations: 15.94 kB / 1.439 GB, free: 12.63 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.5875, allocations: 1.817 MB / 1.44 GB, free: 10.71 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.5878, allocations: 0.6969 MB / 1.441 GB, free: 9.988 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00011/0.5879, allocations: 28.62 kB / 1.441 GB, free: 9.961 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.588, allocations: 27.42 kB / 1.441 GB, free: 9.934 MB / 1.139 GB Notification: Performance of SimCode: time 4.01e-07/0.588, allocations: 0 / 1.441 GB, free: 9.934 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.612, allocations: 2.672 MB / 1.444 GB, free: 7.406 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.01, allocations: 19.67 kB / 1.444 GB, free: 7.395 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.043179615982808]