Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001669/0.001669, allocations: 112.6 kB / 17.08 MB, free: 5.941 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.001977/0.001977, allocations: 194.2 kB / 20.03 MB, free: 3.027 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.373/1.373, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.89 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8837, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002346/0.8861, allocations: 1.348 MB / 1.264 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1781/1.064, allocations: 148.1 MB / 1.408 GB, free: 9.676 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/1.064, allocations: 0 / 1.408 GB, free: 9.676 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/1.064, allocations: 3.938 kB / 1.408 GB, free: 9.672 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/1.064, allocations: 10.77 kB / 1.408 GB, free: 9.664 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/1.065, allocations: 327 kB / 1.409 GB, free: 9.426 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/1.065, allocations: 65.44 kB / 1.409 GB, free: 9.395 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/1.066, allocations: 6.094 kB / 1.409 GB, free: 9.391 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/1.066, allocations: 35.53 kB / 1.409 GB, free: 9.371 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/1.066, allocations: 32.39 kB / 1.409 GB, free: 9.352 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/1.066, allocations: 6.875 kB / 1.409 GB, free: 9.348 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007806/1.066, allocations: 409.5 kB / 1.409 GB, free: 9.129 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/1.067, allocations: 21.16 kB / 1.409 GB, free: 9.113 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/1.067, allocations: 27.02 kB / 1.409 GB, free: 9.098 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/1.067, allocations: 160.8 kB / 1.41 GB, free: 9.02 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.067, allocations: 4 kB / 1.41 GB, free: 9.016 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.854e-06/1.067, allocations: 1.344 kB / 1.41 GB, free: 9.016 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.869e-06/1.067, allocations: 0 / 1.41 GB, free: 9.016 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.0004719/1.067, allocations: 395.9 kB / 1.41 GB, free: 8.613 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/1.067, allocations: 9.375 kB / 1.41 GB, free: 8.613 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/1.068, allocations: 29.97 kB / 1.41 GB, free: 8.605 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/1.068, allocations: 165.6 kB / 1.41 GB, free: 8.406 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/1.068, allocations: 15.86 kB / 1.41 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/1.068, allocations: 8.844 kB / 1.41 GB, free: 8.391 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/1.068, allocations: 77.5 kB / 1.41 GB, free: 8.332 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.068, allocations: 5.438 kB / 1.41 GB, free: 8.328 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.068, allocations: 1.25 kB / 1.41 GB, free: 8.328 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.068, allocations: 5.312 kB / 1.41 GB, free: 8.324 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/1.068, allocations: 45.2 kB / 1.41 GB, free: 8.305 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/1.069, allocations: 193.1 kB / 1.41 GB, free: 8.082 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/1.069, allocations: 83.8 kB / 1.411 GB, free: 8.035 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/1.069, allocations: 35.69 kB / 1.411 GB, free: 8.012 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/1.069, allocations: 180.2 kB / 1.411 GB, free: 7.812 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/1.069, allocations: 37.16 kB / 1.411 GB, free: 7.77 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/1.069, allocations: 0 / 1.411 GB, free: 7.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001296/1.07, allocations: 0.5373 MB / 1.411 GB, free: 7.371 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/1.07, allocations: 58.3 kB / 1.411 GB, free: 7.305 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/1.071, allocations: 100.8 kB / 1.411 GB, free: 7.199 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/1.071, allocations: 26.95 kB / 1.411 GB, free: 7.168 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/1.071, allocations: 88.5 kB / 1.412 GB, free: 7.078 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/1.071, allocations: 75.12 kB / 1.412 GB, free: 7.012 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/1.071, allocations: 48.14 kB / 1.412 GB, free: 6.973 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.071, allocations: 324.3 kB / 1.412 GB, free: 6.648 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/1.071, allocations: 33.05 kB / 1.412 GB, free: 6.637 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/1.071, allocations: 73.08 kB / 1.412 GB, free: 6.582 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/1.071, allocations: 122.6 kB / 1.412 GB, free: 6.5 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.071, allocations: 0 / 1.412 GB, free: 6.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002294/1.071, allocations: 161.5 kB / 1.412 GB, free: 6.406 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.071, allocations: 6.25 kB / 1.412 GB, free: 6.406 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.071, allocations: 1.281 kB / 1.412 GB, free: 6.406 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.072, allocations: 5.406 kB / 1.412 GB, free: 6.402 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/1.072, allocations: 40.23 kB / 1.412 GB, free: 6.395 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.072, allocations: 1.312 kB / 1.412 GB, free: 6.395 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/1.072, allocations: 9.969 kB / 1.412 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/1.072, allocations: 5.031 kB / 1.412 GB, free: 6.387 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 9.483e-05/1.072, allocations: 125.5 kB / 1.413 GB, free: 6.262 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/1.072, allocations: 9.688 kB / 1.413 GB, free: 6.258 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/1.072, allocations: 20.42 kB / 1.413 GB, free: 6.242 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/1.072, allocations: 2.594 kB / 1.413 GB, free: 6.242 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.072, allocations: 0 / 1.413 GB, free: 6.242 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/1.072, allocations: 5.344 kB / 1.413 GB, free: 6.238 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/1.072, allocations: 193.1 kB / 1.413 GB, free: 6.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.072, allocations: 0 / 1.413 GB, free: 6.02 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.072, allocations: 37.98 kB / 1.413 GB, free: 6.012 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.072, allocations: 5.078 kB / 1.413 GB, free: 6.008 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.072, allocations: 1.219 kB / 1.413 GB, free: 6.008 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.072, allocations: 0.9062 kB / 1.413 GB, free: 6.008 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.072, allocations: 5.219 kB / 1.413 GB, free: 6.004 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/1.073, allocations: 215.4 kB / 1.413 GB, free: 5.863 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/1.073, allocations: 90.58 kB / 1.413 GB, free: 5.762 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/1.073, allocations: 5.469 kB / 1.413 GB, free: 5.758 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.073, allocations: 7.719 kB / 1.413 GB, free: 5.754 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/1.073, allocations: 14.05 kB / 1.413 GB, free: 5.746 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/1.073, allocations: 16.08 kB / 1.413 GB, free: 5.734 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.653e-05/1.073, allocations: 81.91 kB / 1.413 GB, free: 5.656 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.073, allocations: 0 / 1.413 GB, free: 5.656 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000221/1.073, allocations: 25.28 kB / 1.413 GB, free: 5.652 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.0001354/1.073, allocations: 110.1 kB / 1.413 GB, free: 5.551 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001988/1.074, allocations: 101.6 kB / 1.413 GB, free: 5.516 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.074, allocations: 1.719 kB / 1.413 GB, free: 5.516 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/1.074, allocations: 57.53 kB / 1.413 GB, free: 5.492 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/1.074, allocations: 14.41 kB / 1.414 GB, free: 5.484 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/1.075, allocations: 0.5355 MB / 1.414 GB, free: 5.035 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/1.075, allocations: 0.7084 MB / 1.415 GB, free: 4.32 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/1.075, allocations: 17.09 kB / 1.415 GB, free: 4.312 MB / 1.107 GB Notification: Performance of SimCode: time 2.6e-07/1.075, allocations: 0 / 1.415 GB, free: 4.312 MB / 1.107 GB Notification: Performance of Templates: time 0.00311/1.078, allocations: 1.305 MB / 1.416 GB, free: 3.641 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.068535818951204]