Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008379/0.0008379, 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.0008974/0.0008974, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8726/0.8726, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.691/1.691, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.628e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001698/0.001714, allocations: 1.329 MB / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5625/0.5642, allocations: 130.1 MB / 1.109 GB, free: 24.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.5642, allocations: 1.219 kB / 1.109 GB, free: 24.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.5643, allocations: 5.344 kB / 1.109 GB, free: 24.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.5644, allocations: 17.23 kB / 1.109 GB, free: 24.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.5652, allocations: 342.1 kB / 1.11 GB, free: 24 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.5653, allocations: 64.33 kB / 1.11 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.5653, allocations: 7.266 kB / 1.11 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.5654, allocations: 45.83 kB / 1.11 GB, free: 23.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.5655, allocations: 28.12 kB / 1.11 GB, free: 23.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.5655, allocations: 3.656 kB / 1.11 GB, free: 23.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006276/0.5661, allocations: 375.8 kB / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.5662, allocations: 18.17 kB / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.5662, allocations: 29.66 kB / 1.11 GB, free: 23.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.5666, allocations: 166.7 kB / 1.11 GB, free: 23.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5666, allocations: 0 / 1.11 GB, free: 23.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5666, allocations: 0 / 1.11 GB, free: 23.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.5666, allocations: 0 / 1.11 GB, free: 23.71 MB / 0.9948 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.0004179/0.567, allocations: 317.3 kB / 1.111 GB, free: 23.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5671, allocations: 9.562 kB / 1.111 GB, free: 23.42 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.5671, allocations: 38.38 kB / 1.111 GB, free: 23.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.5674, allocations: 32.47 kB / 1.111 GB, free: 23.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.811e-05/0.5675, allocations: 114.5 kB / 1.111 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5675, allocations: 3.656 kB / 1.111 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.5675, allocations: 17.83 kB / 1.111 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.5677, allocations: 212.9 kB / 1.111 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5677, allocations: 1.281 kB / 1.111 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5677, allocations: 1.219 kB / 1.111 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5677, allocations: 1.828 kB / 1.111 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.333e-05/0.5678, allocations: 44.08 kB / 1.111 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.5679, allocations: 149.5 kB / 1.111 GB, free: 22.85 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.5681, allocations: 87.28 kB / 1.111 GB, free: 22.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.5681, allocations: 34.73 kB / 1.111 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.5683, allocations: 32.48 kB / 1.111 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5683, allocations: 32.25 kB / 1.111 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.5683, allocations: 0 / 1.111 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0008961/0.5692, allocations: 484.1 kB / 1.112 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.5692, allocations: 59.39 kB / 1.112 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.647e-05/0.5692, allocations: 92.73 kB / 1.112 GB, free: 22.32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.5693, allocations: 32.05 kB / 1.112 GB, free: 22.28 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.506e-05/0.5693, allocations: 81.64 kB / 1.112 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.5693, allocations: 72.62 kB / 1.112 GB, free: 22.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.5694, allocations: 43.28 kB / 1.112 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.5694, allocations: 323.2 kB / 1.113 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.5695, allocations: 35.14 kB / 1.113 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.5696, allocations: 76.98 kB / 1.113 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.5697, allocations: 123.5 kB / 1.113 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5697, allocations: 1.188 kB / 1.113 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001704/0.5699, allocations: 155.2 kB / 1.113 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5699, allocations: 6.453 kB / 1.113 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5699, allocations: 1.062 kB / 1.113 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5699, allocations: 1.156 kB / 1.113 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.57, allocations: 44.38 kB / 1.113 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.57, allocations: 2.625 kB / 1.113 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.5701, allocations: 2.172 kB / 1.113 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5701, allocations: 12.72 kB / 1.113 GB, free: 21.57 MB / 0.9948 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 5.369e-05/0.5701, allocations: 128.2 kB / 1.113 GB, free: 21.44 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.5701, allocations: 8.547 kB / 1.113 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.5702, allocations: 18.34 kB / 1.113 GB, free: 21.42 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5702, allocations: 2.047 kB / 1.113 GB, free: 21.42 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5702, allocations: 1.469 kB / 1.113 GB, free: 21.42 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5702, allocations: 0.75 kB / 1.113 GB, free: 21.42 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.5703, allocations: 157.5 kB / 1.113 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5703, allocations: 1.828 kB / 1.113 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.5704, allocations: 39.03 kB / 1.113 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5704, allocations: 5.156 kB / 1.113 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5704, allocations: 5.609 kB / 1.113 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5704, allocations: 1.25 kB / 1.113 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5704, allocations: 0.6094 kB / 1.113 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.5706, allocations: 212.1 kB / 1.114 GB, free: 21.12 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.5707, allocations: 16.52 kB / 1.114 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.5707, allocations: 1.906 kB / 1.114 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/0.5708, allocations: 9.234 kB / 1.114 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.5708, allocations: 14.59 kB / 1.114 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5708, allocations: 9.219 kB / 1.114 GB, free: 21.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.368e-05/0.5708, allocations: 82.27 kB / 1.114 GB, free: 21.02 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5708, allocations: 0 / 1.114 GB, free: 21.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001425/0.5709, allocations: 26.16 kB / 1.114 GB, free: 21.02 MB / 0.9948 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.000358/0.5713, allocations: 0.7512 MB / 1.114 GB, free: 20.36 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.5715, allocations: 102.3 kB / 1.114 GB, free: 20.34 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5715, allocations: 0 / 1.114 GB, free: 20.34 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.5715, allocations: 53.67 kB / 1.115 GB, free: 20.32 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.5717, allocations: 15.73 kB / 1.115 GB, free: 20.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5729, allocations: 1.717 MB / 1.116 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.898e-05/0.573, allocations: 91.44 kB / 1.116 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.796e-05/0.573, allocations: 23.95 kB / 1.116 GB, free: 18.81 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.5731, allocations: 31.14 kB / 1.116 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of SimCode: time 3.21e-07/0.5731, allocations: 0 / 1.116 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.5907, allocations: 3.119 MB / 1.119 GB, free: 17.83 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/7.123, allocations: 10.16 kB / 1.119 GB, free: 17.83 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.006732638925314]