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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 195.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6294, allocations: 151.6 MB / 1.017 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002722/0.6322, allocations: 1.32 MB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.178/0.8102, allocations: 148.1 MB / 1.163 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.8103, allocations: 0 / 1.163 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.8104, allocations: 3.984 kB / 1.163 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.8105, allocations: 15.84 kB / 1.163 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.8115, allocations: 330.6 kB / 1.164 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.8116, allocations: 67.7 kB / 1.164 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.8117, allocations: 4 kB / 1.164 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.8117, allocations: 27.97 kB / 1.164 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.8118, allocations: 35.83 kB / 1.164 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.8119, allocations: 0 / 1.164 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008689/0.8127, allocations: 414.8 kB / 1.164 GB, free: 11.76 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.8128, allocations: 11.98 kB / 1.164 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.8129, allocations: 31.84 kB / 1.164 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.8132, allocations: 157.8 kB / 1.164 GB, free: 11.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8132, allocations: 3.938 kB / 1.164 GB, free: 11.56 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8132, allocations: 0 / 1.164 GB, free: 11.56 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.8132, allocations: 0 / 1.164 GB, free: 11.56 MB / 0.92 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.000525/0.8138, allocations: 391.3 kB / 1.165 GB, free: 11.13 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.8138, allocations: 8.031 kB / 1.165 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.8143, allocations: 44.81 kB / 1.165 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.8144, allocations: 168.3 kB / 1.165 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.8145, allocations: 11.92 kB / 1.165 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.8145, allocations: 8 kB / 1.165 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.8147, allocations: 73.66 kB / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8147, allocations: 0 / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.8147, allocations: 4 kB / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8147, allocations: 0 / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.8149, allocations: 47.89 kB / 1.165 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.8151, allocations: 201.4 kB / 1.165 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.8153, allocations: 86.69 kB / 1.165 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.8154, allocations: 32.84 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.8156, allocations: 174.2 kB / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.8157, allocations: 38.56 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 3.015e-06/0.8157, allocations: 0 / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001402/0.8171, allocations: 0.5505 MB / 1.166 GB, free: 9.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.8172, allocations: 59.41 kB / 1.166 GB, free: 9.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.8172, allocations: 97.8 kB / 1.166 GB, free: 9.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.8173, allocations: 33.7 kB / 1.166 GB, free: 9.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.8173, allocations: 80.52 kB / 1.166 GB, free: 9.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.8174, allocations: 70.98 kB / 1.166 GB, free: 9.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.8174, allocations: 41.72 kB / 1.166 GB, free: 9.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8176, allocations: 318.8 kB / 1.167 GB, free: 8.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.8177, allocations: 40.09 kB / 1.167 GB, free: 8.727 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/0.8178, allocations: 71.34 kB / 1.167 GB, free: 8.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.8179, allocations: 111.4 kB / 1.167 GB, free: 8.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.818, allocations: 0 / 1.167 GB, free: 8.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002331/0.8182, allocations: 161.4 kB / 1.167 GB, free: 8.359 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.8182, allocations: 4 kB / 1.167 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8182, allocations: 4 kB / 1.167 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8182, allocations: 4 kB / 1.167 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.8184, allocations: 39.92 kB / 1.167 GB, free: 8.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.8184, allocations: 0 / 1.167 GB, free: 8.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.8185, allocations: 11.94 kB / 1.167 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.8185, allocations: 4 kB / 1.167 GB, free: 8.293 MB / 0.92 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.474e-05/0.8186, allocations: 117.8 kB / 1.167 GB, free: 8.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.8187, allocations: 11.89 kB / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.8187, allocations: 24.38 kB / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8187, allocations: 4 kB / 1.167 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.8187, allocations: 0 / 1.167 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8187, allocations: 7.875 kB / 1.167 GB, free: 8.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.8189, allocations: 197.6 kB / 1.167 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8189, allocations: 0 / 1.167 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.8192, allocations: 36.11 kB / 1.168 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8192, allocations: 0 / 1.168 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.8192, allocations: 12 kB / 1.168 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8192, allocations: 0 / 1.168 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8192, allocations: 0 / 1.168 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.8195, allocations: 215.5 kB / 1.168 GB, free: 7.605 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.8196, allocations: 97.06 kB / 1.168 GB, free: 7.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.8196, allocations: 0 / 1.168 GB, free: 7.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.8198, allocations: 11.98 kB / 1.168 GB, free: 7.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.8198, allocations: 11.92 kB / 1.168 GB, free: 7.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.8198, allocations: 8 kB / 1.168 GB, free: 7.461 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.8199, allocations: 79.28 kB / 1.168 GB, free: 7.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8199, allocations: 4.094 kB / 1.168 GB, free: 7.379 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002209/0.8201, allocations: 28 kB / 1.168 GB, free: 7.352 MB / 0.92 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.0001473/0.8203, allocations: 99.25 kB / 1.168 GB, free: 7.246 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.8205, allocations: 124 kB / 1.168 GB, free: 7.125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8205, allocations: 0 / 1.168 GB, free: 7.125 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.8206, allocations: 53.62 kB / 1.168 GB, free: 7.074 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.8209, allocations: 20 kB / 1.168 GB, free: 7.055 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.8218, allocations: 0.5128 MB / 1.169 GB, free: 6.516 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.8222, allocations: 0.7008 MB / 1.169 GB, free: 5.789 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.8223, allocations: 20.64 kB / 1.169 GB, free: 5.77 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.8223, allocations: 15.44 kB / 1.169 GB, free: 5.754 MB / 0.92 GB Notification: Performance of SimCode: time 4.3e-07/0.8223, allocations: 0 / 1.169 GB, free: 5.754 MB / 0.92 GB Notification: Performance of Templates: time 0.004005/0.8264, allocations: 1.121 MB / 1.171 GB, free: 4.641 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile (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) 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) Reference file matches