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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009748/0.009748, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.089/3.089, allocations: 470.6 MB / 0.7441 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003822, allocations: 6.375 kB / 0.9122 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3987, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001848/0.4006, allocations: 1.062 MB / 1.071 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2165/0.6171, allocations: 144.2 MB / 1.212 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.6172, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.6173, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.6175, allocations: 19.91 kB / 1.212 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.6187, allocations: 294.9 kB / 1.212 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.6189, allocations: 91.72 kB / 1.212 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.6189, allocations: 4 kB / 1.212 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.619, allocations: 27.91 kB / 1.212 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.6192, allocations: 39.83 kB / 1.212 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.6192, allocations: 0 / 1.212 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.6203, allocations: 498.7 kB / 1.213 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.6204, allocations: 15.98 kB / 1.213 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.98e-05/0.6205, allocations: 61.55 kB / 1.213 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.6209, allocations: 175.8 kB / 1.213 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6209, allocations: 0 / 1.213 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6209, allocations: 0 / 1.213 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6209, allocations: 0 / 1.213 GB, free: 8.359 MB / 0.9669 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.0005355/0.6215, allocations: 375.4 kB / 1.213 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6215, allocations: 8.031 kB / 1.213 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.622, allocations: 52.77 kB / 1.213 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.6222, allocations: 164.3 kB / 1.214 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6222, allocations: 11.94 kB / 1.214 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.6223, allocations: 11.91 kB / 1.214 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.6225, allocations: 85.52 kB / 1.214 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.6225, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.6225, allocations: 4 kB / 1.214 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6225, allocations: 0 / 1.214 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.6226, allocations: 43.95 kB / 1.214 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.6229, allocations: 189.5 kB / 1.214 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.6231, allocations: 98.56 kB / 1.214 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.6232, allocations: 32.84 kB / 1.214 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.6235, allocations: 170.2 kB / 1.214 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.6235, allocations: 42.56 kB / 1.214 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.6236, allocations: 0 / 1.214 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001453/0.625, allocations: 0.5427 MB / 1.215 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.6251, allocations: 55.41 kB / 1.215 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.6252, allocations: 105.7 kB / 1.215 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.6252, allocations: 25.7 kB / 1.215 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.6253, allocations: 84.52 kB / 1.215 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.6253, allocations: 70.94 kB / 1.215 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.6254, allocations: 29.7 kB / 1.215 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6256, allocations: 318.8 kB / 1.215 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.6256, allocations: 35.97 kB / 1.215 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.6257, allocations: 69.97 kB / 1.215 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.6259, allocations: 123.3 kB / 1.216 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.626, allocations: 0 / 1.216 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002627/0.6262, allocations: 153.5 kB / 1.216 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6263, allocations: 8 kB / 1.216 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6263, allocations: 0 / 1.216 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6263, allocations: 0 / 1.216 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.6265, allocations: 43.92 kB / 1.216 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.6265, allocations: 4 kB / 1.216 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.6266, allocations: 7.938 kB / 1.216 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.6266, allocations: 8 kB / 1.216 GB, free: 5.109 MB / 0.9669 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.0001323/0.6267, allocations: 125.8 kB / 1.216 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.6267, allocations: 7.906 kB / 1.216 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.6268, allocations: 16.44 kB / 1.216 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6268, allocations: 4 kB / 1.216 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6268, allocations: 7.938 kB / 1.216 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6268, allocations: 3.938 kB / 1.216 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.6271, allocations: 197.6 kB / 1.216 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6271, allocations: 0 / 1.216 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.6273, allocations: 31.98 kB / 1.216 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.6273, allocations: 4 kB / 1.216 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.6273, allocations: 11.92 kB / 1.216 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6273, allocations: 0 / 1.216 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6273, allocations: 0 / 1.216 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.6277, allocations: 214.2 kB / 1.216 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.6278, allocations: 89.25 kB / 1.216 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.6278, allocations: 0 / 1.216 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.628, allocations: 16.05 kB / 1.216 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.628, allocations: 19.86 kB / 1.217 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.628, allocations: 8 kB / 1.217 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.6281, allocations: 75.28 kB / 1.217 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6281, allocations: 0 / 1.217 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002377/0.6283, allocations: 32.09 kB / 1.217 GB, free: 4.172 MB / 0.9669 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.0001749/0.6285, allocations: 111.2 kB / 1.217 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.6288, allocations: 103.9 kB / 1.217 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6288, allocations: 0 / 1.217 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/0.6289, allocations: 61.41 kB / 1.217 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6291, allocations: 8 kB / 1.217 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.6302, allocations: 0.6202 MB / 1.218 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.6306, allocations: 0.701 MB / 1.218 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.6307, allocations: 32.55 kB / 1.218 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.6308, allocations: 15.44 kB / 1.218 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.6308, allocations: 0 / 1.218 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of Templates: time 0.004436/0.6352, allocations: 1.063 MB / 1.219 GB, free: 1.398 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches