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.001544/0.001544, allocations: 106.3 kB / 16.27 MB, free: 6.418 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.001517/0.001517, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.532/2.532, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.66 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2875, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002557/0.2901, allocations: 1.33 MB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6438/0.9339, allocations: 148.1 MB / 1.164 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.934, allocations: 0 / 1.164 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.9341, allocations: 2.203 kB / 1.164 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.9342, allocations: 17 kB / 1.164 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.9352, allocations: 320.5 kB / 1.164 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.9353, allocations: 62.17 kB / 1.164 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.9354, allocations: 4.922 kB / 1.164 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.9354, allocations: 31.09 kB / 1.164 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.9355, allocations: 38.36 kB / 1.164 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.9356, allocations: 3.906 kB / 1.164 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008519/0.9364, allocations: 407.1 kB / 1.165 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.9365, allocations: 24.06 kB / 1.165 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.9365, allocations: 22.61 kB / 1.165 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.9369, allocations: 161.3 kB / 1.165 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.9369, allocations: 0 / 1.165 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9369, allocations: 0 / 1.165 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.9369, allocations: 0 / 1.165 GB, free: 4.629 MB / 0.8731 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.000513/0.9374, allocations: 388.6 kB / 1.165 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.9375, allocations: 13.05 kB / 1.165 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.9379, allocations: 39.67 kB / 1.165 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.938, allocations: 165.5 kB / 1.166 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.938, allocations: 7.531 kB / 1.166 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.9381, allocations: 15.23 kB / 1.166 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.9382, allocations: 75.92 kB / 1.166 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9383, allocations: 0 / 1.166 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.9383, allocations: 9.312 kB / 1.166 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.9383, allocations: 1.094 kB / 1.166 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.9384, allocations: 45.77 kB / 1.166 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.9386, allocations: 192.5 kB / 1.166 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.9388, allocations: 88.56 kB / 1.166 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.9389, allocations: 32.61 kB / 1.166 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.9391, allocations: 183.2 kB / 1.166 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.9392, allocations: 31.59 kB / 1.166 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 6.001e-06/0.9392, allocations: 5.078 kB / 1.166 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001337/0.9405, allocations: 0.5528 MB / 1.167 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.9406, allocations: 58.12 kB / 1.167 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.9407, allocations: 94.89 kB / 1.167 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.9407, allocations: 30.89 kB / 1.167 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.9408, allocations: 85.73 kB / 1.167 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.9408, allocations: 69.23 kB / 1.167 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.9409, allocations: 42.59 kB / 1.167 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.9411, allocations: 323 kB / 1.167 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.9411, allocations: 35.67 kB / 1.167 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.9412, allocations: 71.47 kB / 1.167 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.9414, allocations: 112.8 kB / 1.168 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.9414, allocations: 0 / 1.168 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002747/0.9417, allocations: 162.2 kB / 1.168 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.9417, allocations: 5.719 kB / 1.168 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9417, allocations: 4.781 kB / 1.168 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9418, allocations: 1.562 kB / 1.168 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.9419, allocations: 39.61 kB / 1.168 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.942, allocations: 2.438 kB / 1.168 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.942, allocations: 9.219 kB / 1.168 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.942, allocations: 13.44 kB / 1.168 GB, free: 2.18 MB / 0.8731 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.000122/0.9422, allocations: 124 kB / 1.168 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.9422, allocations: 9.219 kB / 1.168 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.9423, allocations: 16.44 kB / 1.168 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.9423, allocations: 3.062 kB / 1.168 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9423, allocations: 0 / 1.168 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9423, allocations: 10.03 kB / 1.168 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.9425, allocations: 192.9 kB / 1.168 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.9425, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.9427, allocations: 35.47 kB / 1.168 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.9427, allocations: 1.094 kB / 1.168 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.9427, allocations: 5.312 kB / 1.168 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.9427, allocations: 5.688 kB / 1.168 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9427, allocations: 3.484 kB / 1.168 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.943, allocations: 212 kB / 1.168 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.9431, allocations: 90.62 kB / 1.169 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.9432, allocations: 7.656 kB / 1.169 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.9433, allocations: 4.312 kB / 1.169 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.9433, allocations: 12.44 kB / 1.169 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.9434, allocations: 12.47 kB / 1.169 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.9434, allocations: 79.56 kB / 1.169 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9434, allocations: 3.938 kB / 1.169 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002291/0.9436, allocations: 29.62 kB / 1.169 GB, free: 1.496 MB / 0.8731 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.0001634/0.9438, allocations: 103.3 kB / 1.169 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.9441, allocations: 120.1 kB / 1.169 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9441, allocations: 4.094 kB / 1.169 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.9442, allocations: 57.45 kB / 1.169 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.9444, allocations: 10.84 kB / 1.169 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.9454, allocations: 0.5396 MB / 1.169 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.9457, allocations: 0.7015 MB / 1.17 GB, free: 228 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.9458, allocations: 16.56 kB / 1.17 GB, free: 220 kB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9458, allocations: 0 / 1.17 GB, free: 220 kB / 0.8731 GB Notification: Performance of Templates: time 0.003101/0.9489, allocations: 1.301 MB / 1.171 GB, free: 112 kB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches