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.001853/0.001853, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002102/0.002102, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.805 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.733/2.733, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_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.002092/0.002092, allocations: 68.14 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002571/0.3345, allocations: 1.338 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1672/0.5016, allocations: 130 MB / 1.411 GB, free: 8.613 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.5017, allocations: 4 kB / 1.411 GB, free: 8.609 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.5017, allocations: 7.938 kB / 1.411 GB, free: 8.602 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.5019, allocations: 11.91 kB / 1.411 GB, free: 8.59 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.5031, allocations: 322.7 kB / 1.411 GB, free: 8.273 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.5032, allocations: 75.75 kB / 1.411 GB, free: 8.199 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.5033, allocations: 4 kB / 1.411 GB, free: 8.195 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.5033, allocations: 27.92 kB / 1.411 GB, free: 8.168 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.5035, allocations: 31.89 kB / 1.411 GB, free: 8.137 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.5035, allocations: 4 kB / 1.411 GB, free: 8.133 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008642/0.5043, allocations: 370.8 kB / 1.412 GB, free: 7.77 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.5044, allocations: 19.91 kB / 1.412 GB, free: 7.75 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.5045, allocations: 23.92 kB / 1.412 GB, free: 7.727 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.5049, allocations: 152.9 kB / 1.412 GB, free: 7.582 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5049, allocations: 4 kB / 1.412 GB, free: 7.578 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5049, allocations: 4 kB / 1.412 GB, free: 7.574 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.5049, allocations: 0 / 1.412 GB, free: 7.574 MB / 1.107 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.0005356/0.5054, allocations: 317.9 kB / 1.412 GB, free: 7.234 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5054, allocations: 8.031 kB / 1.412 GB, free: 7.227 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.5055, allocations: 38.75 kB / 1.412 GB, free: 7.18 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.5059, allocations: 40.84 kB / 1.412 GB, free: 7.141 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.506, allocations: 110.3 kB / 1.412 GB, free: 7.008 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5061, allocations: 4 kB / 1.412 GB, free: 7.004 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.5061, allocations: 12 kB / 1.412 GB, free: 6.992 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.5064, allocations: 214 kB / 1.413 GB, free: 6.746 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5064, allocations: 0 / 1.413 GB, free: 6.746 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.5064, allocations: 4 kB / 1.413 GB, free: 6.742 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5064, allocations: 7.938 kB / 1.413 GB, free: 6.734 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.5065, allocations: 43.95 kB / 1.413 GB, free: 6.691 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.5068, allocations: 160.6 kB / 1.413 GB, free: 6.492 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.507, allocations: 82.62 kB / 1.413 GB, free: 6.402 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.507, allocations: 32.84 kB / 1.413 GB, free: 6.367 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.5072, allocations: 23.98 kB / 1.413 GB, free: 6.344 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.5073, allocations: 34.56 kB / 1.413 GB, free: 6.301 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.5073, allocations: 0 / 1.413 GB, free: 6.301 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001417/0.5087, allocations: 479.8 kB / 1.413 GB, free: 5.801 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.5087, allocations: 59.34 kB / 1.413 GB, free: 5.73 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.5088, allocations: 101.8 kB / 1.414 GB, free: 5.621 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.5088, allocations: 29.7 kB / 1.414 GB, free: 5.586 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.5089, allocations: 80.52 kB / 1.414 GB, free: 5.504 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.509, allocations: 71.38 kB / 1.414 GB, free: 5.434 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.509, allocations: 37.72 kB / 1.414 GB, free: 5.391 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5092, allocations: 318.8 kB / 1.414 GB, free: 5.07 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.5093, allocations: 43.97 kB / 1.414 GB, free: 5.027 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.5094, allocations: 69.84 kB / 1.414 GB, free: 4.949 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5096, allocations: 111.4 kB / 1.414 GB, free: 4.828 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5096, allocations: 8 kB / 1.414 GB, free: 4.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002717/0.5098, allocations: 161.7 kB / 1.414 GB, free: 4.656 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5099, allocations: 4 kB / 1.414 GB, free: 4.652 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5099, allocations: 0 / 1.414 GB, free: 4.652 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.5099, allocations: 4 kB / 1.414 GB, free: 4.648 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.5101, allocations: 39.92 kB / 1.414 GB, free: 4.609 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.5101, allocations: 3.938 kB / 1.414 GB, free: 4.605 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.5101, allocations: 8 kB / 1.414 GB, free: 4.598 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.5102, allocations: 4 kB / 1.414 GB, free: 4.594 MB / 1.107 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.0001208/0.5103, allocations: 125.8 kB / 1.415 GB, free: 4.461 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.5103, allocations: 11.94 kB / 1.415 GB, free: 4.449 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.5104, allocations: 20.47 kB / 1.415 GB, free: 4.434 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5104, allocations: 0 / 1.415 GB, free: 4.434 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5104, allocations: 3.938 kB / 1.415 GB, free: 4.43 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5104, allocations: 0 / 1.415 GB, free: 4.43 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.5106, allocations: 152.7 kB / 1.415 GB, free: 4.238 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5106, allocations: 3.984 kB / 1.415 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.5108, allocations: 39.98 kB / 1.415 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5108, allocations: 3.938 kB / 1.415 GB, free: 4.191 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5108, allocations: 4 kB / 1.415 GB, free: 4.188 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5108, allocations: 4 kB / 1.415 GB, free: 4.184 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5108, allocations: 3.938 kB / 1.415 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.5112, allocations: 206.9 kB / 1.415 GB, free: 3.961 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.5112, allocations: 19.88 kB / 1.415 GB, free: 3.941 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.5113, allocations: 8.047 kB / 1.415 GB, free: 3.934 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5114, allocations: 8 kB / 1.415 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.5114, allocations: 11.92 kB / 1.415 GB, free: 3.914 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.5114, allocations: 15.98 kB / 1.415 GB, free: 3.898 MB / 1.107 GB Notification: Performance of sorting global known variables: time 8.039e-05/0.5115, allocations: 75.28 kB / 1.415 GB, free: 3.824 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.5115, allocations: 0 / 1.415 GB, free: 3.824 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002324/0.5118, allocations: 32.09 kB / 1.415 GB, free: 3.793 MB / 1.107 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.0007012/0.5125, allocations: 0.7471 MB / 1.416 GB, free: 3.016 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.5127, allocations: 107.8 kB / 1.416 GB, free: 2.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5127, allocations: 0 / 1.416 GB, free: 2.91 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.5128, allocations: 47.92 kB / 1.416 GB, free: 2.863 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.513, allocations: 27.17 kB / 1.416 GB, free: 2.84 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.5151, allocations: 1.825 MB / 1.418 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.117e-05/0.5152, allocations: 88 kB / 1.418 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.5154, allocations: 20.64 kB / 1.418 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.5154, allocations: 23.42 kB / 1.418 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of SimCode: time 8.82e-07/0.5154, allocations: 0 / 1.418 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.5471, allocations: 2.984 MB / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.96, allocations: 14.17 kB / 1.421 GB, free: 13.91 MB / 1.123 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: 18.63414044585079]