Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.349/2.349, allocations: 390.5 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 176.8 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 103.8 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.08e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3295, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.845/5.174, allocations: 1.744 GB / 2.957 GB, free: 132.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/5.175, allocations: 75.95 kB / 2.957 GB, free: 132.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05755/5.232, allocations: 29.18 MB / 2.985 GB, free: 103.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.595e-06/5.232, allocations: 4 kB / 2.985 GB, free: 103.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.476e-06/5.232, allocations: 0 / 2.985 GB, free: 103.3 MB / 1.151 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.000425/5.233, allocations: 370.4 kB / 2.986 GB, free: 102.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/5.233, allocations: 8.031 kB / 2.986 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/5.233, allocations: 36.48 kB / 2.986 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/5.233, allocations: 174.9 kB / 2.986 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/5.233, allocations: 0 / 2.986 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/5.233, allocations: 12 kB / 2.986 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/5.234, allocations: 35.97 kB / 2.986 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/5.234, allocations: 65.66 kB / 2.986 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/5.234, allocations: 3.953 kB / 2.986 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/5.234, allocations: 4 kB / 2.986 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/5.234, allocations: 0 / 2.986 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/5.234, allocations: 154.1 kB / 2.986 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/5.234, allocations: 78.66 kB / 2.986 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/5.234, allocations: 29.19 kB / 2.986 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/5.234, allocations: 182.1 kB / 2.986 GB, free: 102 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/5.234, allocations: 34.56 kB / 2.986 GB, free: 102 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/5.234, allocations: 0 / 2.986 GB, free: 102 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001292/5.236, allocations: 480 kB / 2.987 GB, free: 101.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/5.236, allocations: 59.39 kB / 2.987 GB, free: 101.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/5.236, allocations: 92.95 kB / 2.987 GB, free: 101.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/5.236, allocations: 25.7 kB / 2.987 GB, free: 101.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/5.236, allocations: 88.58 kB / 2.987 GB, free: 101.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/5.236, allocations: 63.02 kB / 2.987 GB, free: 101.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/5.236, allocations: 0 / 2.987 GB, free: 101.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/5.236, allocations: 322.8 kB / 2.988 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/5.236, allocations: 35.94 kB / 2.988 GB, free: 100.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/5.236, allocations: 65.11 kB / 2.988 GB, free: 100.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.693e-05/5.236, allocations: 43.95 kB / 2.988 GB, free: 100.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/5.236, allocations: 0 / 2.988 GB, free: 100.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001865/5.236, allocations: 137.5 kB / 2.988 GB, free: 100.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/5.237, allocations: 8 kB / 2.988 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/5.237, allocations: 0 / 2.988 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/5.237, allocations: 0 / 2.988 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/5.237, allocations: 39.92 kB / 2.988 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/5.237, allocations: 4 kB / 2.988 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/5.237, allocations: 0 / 2.988 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/5.237, allocations: 11.95 kB / 2.988 GB, free: 100.4 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/5.237, allocations: 117.9 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/5.237, allocations: 7.906 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/5.237, allocations: 12.53 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/5.237, allocations: 4 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/5.237, allocations: 0 / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/5.237, allocations: 3.984 kB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/5.237, allocations: 162.2 kB / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/5.237, allocations: 0 / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/5.237, allocations: 39.92 kB / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/5.237, allocations: 4 kB / 2.988 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/5.237, allocations: 7.984 kB / 2.988 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/5.237, allocations: 0 / 2.988 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/5.237, allocations: 128 / 2.988 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/5.238, allocations: 197.7 kB / 2.988 GB, free: 99.83 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/5.238, allocations: 97.05 kB / 2.988 GB, free: 99.72 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/5.238, allocations: 0 / 2.988 GB, free: 99.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/5.238, allocations: 7.984 kB / 2.989 GB, free: 99.71 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/5.238, allocations: 7.984 kB / 2.989 GB, free: 99.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/5.238, allocations: 12 kB / 2.989 GB, free: 99.69 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.208e-05/5.238, allocations: 79.28 kB / 2.989 GB, free: 99.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/5.238, allocations: 3.938 kB / 2.989 GB, free: 99.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002991/5.238, allocations: 47.98 kB / 2.989 GB, free: 99.56 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007657/5.239, allocations: 0.6374 MB / 2.989 GB, free: 98.93 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001681/5.239, allocations: 92.19 kB / 2.989 GB, free: 98.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/5.239, allocations: 0 / 2.989 GB, free: 98.84 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/5.239, allocations: 49.14 kB / 2.989 GB, free: 98.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/5.239, allocations: 12.14 kB / 2.989 GB, free: 98.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/5.24, allocations: 445.6 kB / 2.99 GB, free: 98.32 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/5.24, allocations: 0.7086 MB / 2.991 GB, free: 97.59 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001382/5.241, allocations: 16.77 kB / 2.991 GB, free: 97.57 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/5.241, allocations: 15.44 kB / 2.991 GB, free: 97.55 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/5.241, allocations: 4 kB / 2.991 GB, free: 97.55 MB / 1.151 GB Notification: Performance of Templates: time 0.007969/5.249, allocations: 4.132 MB / 2.995 GB, free: 93.41 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches