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.001534/0.001535, allocations: 107 kB / 15.99 MB, free: 6.359 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.001757/0.001757, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.656/2.656, allocations: 469.8 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 66.28 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3138, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002458/0.3163, allocations: 1.387 MB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6274/0.9438, allocations: 145.9 MB / 1.208 GB, free: 408 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.9439, allocations: 1 kB / 1.208 GB, free: 408 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.9439, allocations: 3.938 kB / 1.208 GB, free: 404 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.9441, allocations: 14.14 kB / 1.208 GB, free: 392 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.9451, allocations: 300.4 kB / 1.208 GB, free: 184 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.9452, allocations: 64.89 kB / 1.208 GB, free: 152 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.9453, allocations: 10.14 kB / 1.208 GB, free: 144 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.9454, allocations: 36.41 kB / 1.208 GB, free: 124 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.9455, allocations: 32.31 kB / 1.208 GB, free: 104 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.9455, allocations: 3.25 kB / 1.208 GB, free: 104 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008968/0.9464, allocations: 439 kB / 1.209 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.9464, allocations: 12.52 kB / 1.209 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.9465, allocations: 31.89 kB / 1.209 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.9468, allocations: 112.9 kB / 1.209 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9468, allocations: 1.875 kB / 1.209 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9468, allocations: 5.062 kB / 1.209 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.9468, allocations: 0 / 1.209 GB, free: 15.78 MB / 0.9356 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.0005583/0.9474, allocations: 386.9 kB / 1.209 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9474, allocations: 9.344 kB / 1.209 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.9478, allocations: 34.78 kB / 1.209 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.948, allocations: 161.5 kB / 1.21 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.948, allocations: 11.03 kB / 1.21 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.9481, allocations: 21.89 kB / 1.21 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.9483, allocations: 77.94 kB / 1.21 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9483, allocations: 0 / 1.21 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.9483, allocations: 5.109 kB / 1.21 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9483, allocations: 1.25 kB / 1.21 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.9484, allocations: 46.39 kB / 1.21 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.9486, allocations: 186.3 kB / 1.21 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.9489, allocations: 103.4 kB / 1.21 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.9489, allocations: 32.22 kB / 1.21 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.9492, allocations: 176.1 kB / 1.21 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.9492, allocations: 36.56 kB / 1.21 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.9492, allocations: 1 kB / 1.21 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001354/0.9506, allocations: 0.548 MB / 1.211 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.9507, allocations: 53.28 kB / 1.211 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.9507, allocations: 100.8 kB / 1.211 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.9508, allocations: 31.3 kB / 1.211 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.9508, allocations: 84.64 kB / 1.211 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.9509, allocations: 67.59 kB / 1.211 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.951, allocations: 39.61 kB / 1.211 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9512, allocations: 324.8 kB / 1.211 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.9512, allocations: 36.52 kB / 1.211 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.9513, allocations: 66.19 kB / 1.212 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.9515, allocations: 122.3 kB / 1.212 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9515, allocations: 1 kB / 1.212 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002382/0.9518, allocations: 161 kB / 1.212 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9518, allocations: 5.375 kB / 1.212 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.9518, allocations: 1.188 kB / 1.212 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.9518, allocations: 2.719 kB / 1.212 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.952, allocations: 39.08 kB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.952, allocations: 1.781 kB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.9521, allocations: 9.281 kB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.9521, allocations: 9.406 kB / 1.212 GB, free: 13.17 MB / 0.9356 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.0001097/0.9522, allocations: 125.3 kB / 1.212 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.9522, allocations: 8.594 kB / 1.212 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.9523, allocations: 16.44 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9523, allocations: 2.25 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9523, allocations: 1.156 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.9523, allocations: 7.922 kB / 1.212 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.9525, allocations: 192.6 kB / 1.212 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9525, allocations: 5.406 kB / 1.212 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.9527, allocations: 42.39 kB / 1.212 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.9527, allocations: 1.125 kB / 1.212 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.9528, allocations: 5.219 kB / 1.212 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9528, allocations: 1.125 kB / 1.212 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9528, allocations: 0 / 1.212 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.9531, allocations: 207.6 kB / 1.212 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.9532, allocations: 94.88 kB / 1.213 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.9532, allocations: 1.219 kB / 1.213 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.9534, allocations: 11.38 kB / 1.213 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.9534, allocations: 9.453 kB / 1.213 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.9534, allocations: 17.48 kB / 1.213 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.9535, allocations: 77.28 kB / 1.213 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9535, allocations: 0 / 1.213 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002286/0.9537, allocations: 25.91 kB / 1.213 GB, free: 12.45 MB / 0.9356 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.0001403/0.9539, allocations: 118.2 kB / 1.213 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.9541, allocations: 117.4 kB / 1.213 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9541, allocations: 1.531 kB / 1.213 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.9542, allocations: 58.33 kB / 1.213 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.9544, allocations: 16.25 kB / 1.213 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.9554, allocations: 0.5631 MB / 1.214 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.9557, allocations: 0.7006 MB / 1.214 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.9558, allocations: 16.81 kB / 1.214 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.9558, allocations: 0 / 1.214 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.003194/0.959, allocations: 1.302 MB / 1.216 GB, free: 10.39 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches