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.009672/0.009672, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001902/0.001902, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.761/2.761, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002267/0.3131, allocations: 1.338 MB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9029/1.216, allocations: 148.1 MB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/1.216, allocations: 3.312 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.151e-05/1.216, allocations: 10.36 kB / 1.313 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/1.216, allocations: 11.92 kB / 1.313 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/1.218, allocations: 328.1 kB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/1.218, allocations: 60.53 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/1.218, allocations: 4.25 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/1.218, allocations: 39.66 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/1.218, allocations: 28.25 kB / 1.313 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/1.218, allocations: 3.812 kB / 1.313 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/1.219, allocations: 407.7 kB / 1.313 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/1.219, allocations: 24.42 kB / 1.313 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/1.219, allocations: 26.56 kB / 1.313 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/1.22, allocations: 163.7 kB / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.22, allocations: 0 / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.22, allocations: 0 / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.22, allocations: 1.062 kB / 1.314 GB, free: 12.7 MB / 1.014 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.0006367/1.22, allocations: 387.1 kB / 1.314 GB, free: 12.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.22, allocations: 10.05 kB / 1.314 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/1.221, allocations: 40.73 kB / 1.314 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.221, allocations: 167.3 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/1.221, allocations: 10.72 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/1.221, allocations: 13.81 kB / 1.314 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/1.221, allocations: 83.12 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.221, allocations: 4 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/1.221, allocations: 4.312 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/1.221, allocations: 1.188 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/1.222, allocations: 44.27 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/1.222, allocations: 177.3 kB / 1.314 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/1.222, allocations: 99.14 kB / 1.315 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/1.222, allocations: 35.95 kB / 1.315 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/1.222, allocations: 177.3 kB / 1.315 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/1.222, allocations: 33.53 kB / 1.315 GB, free: 11.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/1.222, allocations: 0 / 1.315 GB, free: 11.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001462/1.224, allocations: 0.5538 MB / 1.315 GB, free: 11.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/1.224, allocations: 53.69 kB / 1.315 GB, free: 11.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/1.224, allocations: 94.58 kB / 1.315 GB, free: 11.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/1.224, allocations: 31.52 kB / 1.315 GB, free: 11.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/1.224, allocations: 87.7 kB / 1.316 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/1.224, allocations: 78.94 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/1.224, allocations: 41.3 kB / 1.316 GB, free: 10.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.224, allocations: 323.2 kB / 1.316 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/1.224, allocations: 36.34 kB / 1.316 GB, free: 10.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/1.225, allocations: 68.3 kB / 1.316 GB, free: 10.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/1.225, allocations: 122.9 kB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.225, allocations: 5.281 kB / 1.316 GB, free: 10.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002441/1.225, allocations: 157.7 kB / 1.316 GB, free: 10.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.225, allocations: 5.188 kB / 1.316 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.225, allocations: 1.062 kB / 1.316 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.225, allocations: 2.891 kB / 1.316 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/1.225, allocations: 40.09 kB / 1.316 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/1.225, allocations: 2.188 kB / 1.316 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/1.225, allocations: 8.312 kB / 1.316 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/1.225, allocations: 5.438 kB / 1.316 GB, free: 10.54 MB / 1.014 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.0001015/1.225, allocations: 127.4 kB / 1.317 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/1.225, allocations: 8.969 kB / 1.317 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/1.226, allocations: 18.84 kB / 1.317 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.226, allocations: 2.75 kB / 1.317 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.226, allocations: 1.125 kB / 1.317 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.226, allocations: 4.594 kB / 1.317 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/1.226, allocations: 193.2 kB / 1.317 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.226, allocations: 0.875 kB / 1.317 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/1.226, allocations: 39.23 kB / 1.317 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.226, allocations: 5.312 kB / 1.317 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/1.226, allocations: 1.094 kB / 1.317 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.226, allocations: 3.578 kB / 1.317 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.226, allocations: 3.938 kB / 1.317 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/1.226, allocations: 213.3 kB / 1.317 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/1.227, allocations: 87.53 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/1.227, allocations: 5.219 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.227, allocations: 8.75 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/1.227, allocations: 17.7 kB / 1.317 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/1.227, allocations: 13.05 kB / 1.317 GB, free: 10.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.085e-05/1.227, allocations: 76.97 kB / 1.317 GB, free: 9.953 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.227, allocations: 1.125 kB / 1.317 GB, free: 9.953 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000257/1.227, allocations: 27.56 kB / 1.317 GB, free: 9.953 MB / 1.014 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.0001705/1.227, allocations: 108.2 kB / 1.317 GB, free: 9.859 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002506/1.228, allocations: 102.6 kB / 1.317 GB, free: 9.852 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.228, allocations: 0 / 1.317 GB, free: 9.852 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/1.228, allocations: 57.12 kB / 1.318 GB, free: 9.848 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/1.228, allocations: 16.2 kB / 1.318 GB, free: 9.848 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/1.229, allocations: 0.5016 MB / 1.318 GB, free: 9.484 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/1.229, allocations: 0.7065 MB / 1.319 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001662/1.23, allocations: 27.81 kB / 1.319 GB, free: 8.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/1.23, allocations: 23.58 kB / 1.319 GB, free: 8.754 MB / 1.014 GB Notification: Performance of SimCode: time 2.61e-07/1.23, allocations: 4 kB / 1.319 GB, free: 8.75 MB / 1.014 GB Notification: Performance of Templates: time 0.006393/1.236, allocations: 1.128 MB / 1.32 GB, free: 8.66 MB / 1.014 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=480 -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