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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 199.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.045/3.045, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 59.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9587/0.9607, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002925/0.9637, allocations: 1.346 MB / 1.275 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1947/1.158, allocations: 148.6 MB / 1.42 GB, free: 14.05 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/1.158, allocations: 0 / 1.42 GB, free: 14.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/1.158, allocations: 0 / 1.42 GB, free: 14.05 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/1.159, allocations: 23.84 kB / 1.42 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/1.16, allocations: 342.5 kB / 1.421 GB, free: 13.69 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/1.16, allocations: 59.78 kB / 1.421 GB, free: 13.63 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/1.16, allocations: 7.984 kB / 1.421 GB, free: 13.62 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/1.16, allocations: 27.92 kB / 1.421 GB, free: 13.59 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/1.16, allocations: 31.89 kB / 1.421 GB, free: 13.56 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/1.16, allocations: 4 kB / 1.421 GB, free: 13.56 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/1.161, allocations: 438.5 kB / 1.421 GB, free: 13.13 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/1.161, allocations: 19.97 kB / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/1.161, allocations: 31.86 kB / 1.421 GB, free: 13.08 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/1.161, allocations: 158.4 kB / 1.422 GB, free: 12.93 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.161, allocations: 0 / 1.422 GB, free: 12.93 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.943e-06/1.161, allocations: 0 / 1.422 GB, free: 12.93 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.161, allocations: 0 / 1.422 GB, free: 12.93 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.0005865/1.162, allocations: 395.1 kB / 1.422 GB, free: 12.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.162, allocations: 12.03 kB / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/1.162, allocations: 28.91 kB / 1.422 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/1.163, allocations: 168.3 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/1.163, allocations: 15.92 kB / 1.422 GB, free: 12.24 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/1.163, allocations: 15.95 kB / 1.422 GB, free: 12.22 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/1.163, allocations: 81.53 kB / 1.422 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.163, allocations: 0 / 1.422 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/1.163, allocations: 0 / 1.422 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.163, allocations: 0 / 1.422 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/1.163, allocations: 47.95 kB / 1.422 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/1.163, allocations: 193.5 kB / 1.422 GB, free: 11.85 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/1.163, allocations: 82.55 kB / 1.422 GB, free: 11.76 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/1.163, allocations: 32.94 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/1.164, allocations: 178.2 kB / 1.423 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.164, allocations: 34.56 kB / 1.423 GB, free: 11.47 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/1.164, allocations: 4 kB / 1.423 GB, free: 11.47 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001383/1.165, allocations: 0.5398 MB / 1.423 GB, free: 10.88 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.165, allocations: 59.39 kB / 1.423 GB, free: 10.81 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/1.165, allocations: 105.8 kB / 1.423 GB, free: 10.7 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/1.165, allocations: 29.7 kB / 1.423 GB, free: 10.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/1.165, allocations: 80.52 kB / 1.424 GB, free: 10.58 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/1.165, allocations: 71.38 kB / 1.424 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/1.165, allocations: 37.72 kB / 1.424 GB, free: 10.46 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.166, allocations: 318.8 kB / 1.424 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/1.166, allocations: 35.98 kB / 1.424 GB, free: 10.11 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/1.166, allocations: 72.55 kB / 1.424 GB, free: 10.03 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/1.166, allocations: 123.3 kB / 1.424 GB, free: 9.895 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.166, allocations: 0 / 1.424 GB, free: 9.895 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002391/1.166, allocations: 161.5 kB / 1.424 GB, free: 9.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.166, allocations: 7.938 kB / 1.424 GB, free: 9.723 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.166, allocations: 4 kB / 1.424 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.166, allocations: 0 / 1.424 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.166, allocations: 35.98 kB / 1.424 GB, free: 9.684 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.166, allocations: 7.938 kB / 1.424 GB, free: 9.676 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/1.167, allocations: 11.94 kB / 1.424 GB, free: 9.664 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.167, allocations: 4 kB / 1.424 GB, free: 9.66 MB / 1.123 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.0001004/1.167, allocations: 121.8 kB / 1.424 GB, free: 9.531 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/1.167, allocations: 11.95 kB / 1.425 GB, free: 9.52 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/1.167, allocations: 20.42 kB / 1.425 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/1.167, allocations: 0 / 1.425 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.167, allocations: 0 / 1.425 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.167, allocations: 11.92 kB / 1.425 GB, free: 9.492 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/1.167, allocations: 193.6 kB / 1.425 GB, free: 9.254 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.167, allocations: 4 kB / 1.425 GB, free: 9.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/1.167, allocations: 35.92 kB / 1.425 GB, free: 9.215 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.167, allocations: 128 / 1.425 GB, free: 9.215 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/1.167, allocations: 12 kB / 1.425 GB, free: 9.203 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.167, allocations: 3.938 kB / 1.425 GB, free: 9.199 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.167, allocations: 0 / 1.425 GB, free: 9.199 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/1.167, allocations: 212.8 kB / 1.425 GB, free: 8.973 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/1.168, allocations: 101.1 kB / 1.425 GB, free: 8.855 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.168, allocations: 0 / 1.425 GB, free: 8.855 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/1.168, allocations: 8 kB / 1.425 GB, free: 8.848 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/1.168, allocations: 11.92 kB / 1.425 GB, free: 8.836 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/1.168, allocations: 11.98 kB / 1.425 GB, free: 8.824 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.708e-05/1.168, allocations: 79.28 kB / 1.425 GB, free: 8.746 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.168, allocations: 0 / 1.425 GB, free: 8.746 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000225/1.168, allocations: 24 kB / 1.425 GB, free: 8.723 MB / 1.123 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.0001479/1.168, allocations: 107.9 kB / 1.425 GB, free: 8.609 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002213/1.168, allocations: 99.89 kB / 1.425 GB, free: 8.512 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.168, allocations: 3.938 kB / 1.425 GB, free: 8.508 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/1.168, allocations: 54.14 kB / 1.425 GB, free: 8.457 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.169, allocations: 13.72 kB / 1.425 GB, free: 8.445 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/1.17, allocations: 0.5087 MB / 1.426 GB, free: 7.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/1.17, allocations: 0.7047 MB / 1.427 GB, free: 7.18 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 9.827e-05/1.17, allocations: 24.58 kB / 1.427 GB, free: 7.156 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/1.17, allocations: 15.44 kB / 1.427 GB, free: 7.141 MB / 1.123 GB Notification: Performance of SimCode: time 3.01e-07/1.17, allocations: 4 kB / 1.427 GB, free: 7.137 MB / 1.123 GB Notification: Performance of Templates: time 0.004221/1.174, allocations: 1.182 MB / 1.428 GB, free: 5.961 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] 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_2/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: 9.368918202351779]