Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00173/0.00173, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002045/0.002045, allocations: 186 kB / 20.78 MB, free: 1.547 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.522/1.522, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.89 kB / 1.059 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002513/0.3361, allocations: 1.344 MB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9024/1.239, allocations: 148.6 MB / 1.362 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/1.239, allocations: 0 / 1.362 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.354e-05/1.239, allocations: 3.062 kB / 1.362 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/1.239, allocations: 17.56 kB / 1.362 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/1.24, allocations: 341.4 kB / 1.363 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/1.24, allocations: 66.42 kB / 1.363 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/1.24, allocations: 3.547 kB / 1.363 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/1.24, allocations: 27.28 kB / 1.363 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/1.24, allocations: 37.05 kB / 1.363 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/1.24, allocations: 2.719 kB / 1.363 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009624/1.241, allocations: 444.2 kB / 1.363 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/1.241, allocations: 17.41 kB / 1.363 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/1.241, allocations: 30.08 kB / 1.363 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003571/1.242, allocations: 149.8 kB / 1.364 GB, free: 6.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/1.242, allocations: 0 / 1.364 GB, free: 6.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/1.242, allocations: 1.031 kB / 1.364 GB, free: 6.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.242, allocations: 0 / 1.364 GB, free: 6.402 MB / 1.045 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.0005657/1.242, allocations: 393 kB / 1.364 GB, free: 6.012 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.242, allocations: 15.75 kB / 1.364 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/1.243, allocations: 35.8 kB / 1.364 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/1.243, allocations: 167.2 kB / 1.364 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.243, allocations: 10.94 kB / 1.364 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/1.243, allocations: 14.78 kB / 1.364 GB, free: 5.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/1.243, allocations: 71.8 kB / 1.364 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.243, allocations: 0 / 1.364 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/1.243, allocations: 5.594 kB / 1.364 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.243, allocations: 1.312 kB / 1.364 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/1.243, allocations: 53.58 kB / 1.364 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/1.244, allocations: 190.7 kB / 1.364 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/1.244, allocations: 82.48 kB / 1.365 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/1.244, allocations: 31.53 kB / 1.365 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/1.244, allocations: 177.6 kB / 1.365 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.244, allocations: 37.03 kB / 1.365 GB, free: 5.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/1.244, allocations: 0 / 1.365 GB, free: 5.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001462/1.246, allocations: 0.5452 MB / 1.365 GB, free: 4.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/1.246, allocations: 54.53 kB / 1.365 GB, free: 4.816 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/1.246, allocations: 98.22 kB / 1.365 GB, free: 4.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/1.246, allocations: 31.14 kB / 1.366 GB, free: 4.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/1.246, allocations: 85.91 kB / 1.366 GB, free: 4.594 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/1.246, allocations: 74.77 kB / 1.366 GB, free: 4.535 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/1.246, allocations: 42.94 kB / 1.366 GB, free: 4.504 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.246, allocations: 322.7 kB / 1.366 GB, free: 4.184 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/1.246, allocations: 43.11 kB / 1.366 GB, free: 4.168 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/1.246, allocations: 66.48 kB / 1.366 GB, free: 4.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/1.247, allocations: 112.8 kB / 1.366 GB, free: 4.059 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.247, allocations: 2.375 kB / 1.366 GB, free: 4.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002589/1.247, allocations: 164.1 kB / 1.366 GB, free: 3.977 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.247, allocations: 6 kB / 1.366 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.247, allocations: 6.359 kB / 1.366 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.247, allocations: 2.656 kB / 1.366 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/1.247, allocations: 38.56 kB / 1.366 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/1.247, allocations: 2.875 kB / 1.366 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/1.247, allocations: 9.219 kB / 1.366 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/1.247, allocations: 5.125 kB / 1.366 GB, free: 3.961 MB / 1.045 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.0001104/1.247, allocations: 121.3 kB / 1.367 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/1.247, allocations: 8.578 kB / 1.367 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/1.247, allocations: 21.05 kB / 1.367 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.247, allocations: 2.5 kB / 1.367 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.247, allocations: 4.688 kB / 1.367 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.247, allocations: 6.234 kB / 1.367 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/1.248, allocations: 195.9 kB / 1.367 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/1.248, allocations: 7.406 kB / 1.367 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.248, allocations: 35.42 kB / 1.367 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.248, allocations: 1.219 kB / 1.367 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.248, allocations: 9.828 kB / 1.367 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.248, allocations: 1.375 kB / 1.367 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/1.248, allocations: 0 / 1.367 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/1.248, allocations: 215.7 kB / 1.367 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/1.248, allocations: 90.55 kB / 1.367 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/1.248, allocations: 2.109 kB / 1.367 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.248, allocations: 10.28 kB / 1.367 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/1.248, allocations: 12.92 kB / 1.367 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/1.248, allocations: 12.55 kB / 1.367 GB, free: 3.344 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.135e-05/1.248, allocations: 81.53 kB / 1.367 GB, free: 3.266 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.248, allocations: 0 / 1.367 GB, free: 3.266 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002529/1.249, allocations: 26.75 kB / 1.367 GB, free: 3.262 MB / 1.045 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.0001557/1.249, allocations: 103.9 kB / 1.367 GB, free: 3.168 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002402/1.249, allocations: 105.4 kB / 1.367 GB, free: 3.141 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.249, allocations: 1.312 kB / 1.367 GB, free: 3.141 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/1.249, allocations: 48.62 kB / 1.368 GB, free: 3.129 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.249, allocations: 22.23 kB / 1.368 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/1.25, allocations: 0.5071 MB / 1.368 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/1.251, allocations: 0.6982 MB / 1.369 GB, free: 2.039 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001043/1.251, allocations: 25.16 kB / 1.369 GB, free: 2.031 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/1.251, allocations: 16.34 kB / 1.369 GB, free: 2.023 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/1.251, allocations: 0 / 1.369 GB, free: 2.023 MB / 1.045 GB Notification: Performance of Templates: time 0.004221/1.255, allocations: 1.17 MB / 1.37 GB, free: 1.91 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.276999223977327]