Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001659/0.001659, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001748/0.001748, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.558/2.558, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7093, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002655/0.712, allocations: 1.387 MB / 0.9504 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2071/0.9191, allocations: 145.9 MB / 1.093 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.9192, allocations: 0 / 1.093 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.736e-05/0.9193, allocations: 7.922 kB / 1.093 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.9196, allocations: 11.92 kB / 1.093 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.9211, allocations: 298.9 kB / 1.093 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.9212, allocations: 71.81 kB / 1.093 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.9213, allocations: 0 / 1.093 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.9213, allocations: 31.91 kB / 1.093 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.9215, allocations: 35.89 kB / 1.093 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.9215, allocations: 7.938 kB / 1.093 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009398/0.9225, allocations: 434.7 kB / 1.094 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.9225, allocations: 19.91 kB / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.9226, allocations: 27.92 kB / 1.094 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.923, allocations: 185.5 kB / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.923, allocations: 4 kB / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.923, allocations: 0 / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.923, allocations: 0 / 1.094 GB, free: 13.09 MB / 0.8575 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.0005593/0.9236, allocations: 399.3 kB / 1.094 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9237, allocations: 8.031 kB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.9241, allocations: 32.81 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.9243, allocations: 168.3 kB / 1.095 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.9243, allocations: 7.938 kB / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.9243, allocations: 15.98 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.9245, allocations: 77.66 kB / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.9245, allocations: 4 kB / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.9246, allocations: 0 / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.9246, allocations: 4 kB / 1.095 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.9247, allocations: 51.89 kB / 1.095 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.9249, allocations: 197.4 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.9251, allocations: 82.61 kB / 1.095 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.9252, allocations: 32.94 kB / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.9254, allocations: 182.2 kB / 1.095 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.9255, allocations: 38.83 kB / 1.095 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 3.917e-06/0.9255, allocations: 0 / 1.095 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.00137/0.9269, allocations: 0.5379 MB / 1.096 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.9269, allocations: 59.34 kB / 1.096 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.927, allocations: 101.8 kB / 1.096 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.9271, allocations: 29.7 kB / 1.096 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.9271, allocations: 84.52 kB / 1.096 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.9272, allocations: 63.02 kB / 1.096 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.9272, allocations: 41.83 kB / 1.096 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9274, allocations: 322.8 kB / 1.096 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.9274, allocations: 31.98 kB / 1.097 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.361e-05/0.9275, allocations: 76.97 kB / 1.097 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.9277, allocations: 111.4 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9277, allocations: 11.94 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002287/0.9279, allocations: 157.5 kB / 1.097 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9279, allocations: 6.031 kB / 1.097 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.928, allocations: 0 / 1.097 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.928, allocations: 7.984 kB / 1.097 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.9282, allocations: 39.92 kB / 1.097 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9282, allocations: 3.938 kB / 1.097 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.9282, allocations: 11.94 kB / 1.097 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.9283, allocations: 4 kB / 1.097 GB, free: 9.809 MB / 0.8575 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 9.739e-05/0.9284, allocations: 121.8 kB / 1.097 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.9284, allocations: 11.84 kB / 1.097 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.9284, allocations: 16.56 kB / 1.097 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.9285, allocations: 7.984 kB / 1.097 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9285, allocations: 4 kB / 1.097 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.9285, allocations: 3.938 kB / 1.097 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.9287, allocations: 189.6 kB / 1.097 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.9287, allocations: 0 / 1.097 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.9289, allocations: 39.98 kB / 1.097 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9289, allocations: 0 / 1.097 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.9289, allocations: 4 kB / 1.097 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.9289, allocations: 4 kB / 1.097 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9289, allocations: 0 / 1.097 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.9292, allocations: 218.2 kB / 1.098 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.9293, allocations: 89 kB / 1.098 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.9294, allocations: 8.062 kB / 1.098 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.9295, allocations: 8 kB / 1.098 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.9295, allocations: 15.86 kB / 1.098 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.9296, allocations: 15.98 kB / 1.098 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.9296, allocations: 79.28 kB / 1.098 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9296, allocations: 0 / 1.098 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002299/0.9298, allocations: 24 kB / 1.098 GB, free: 8.867 MB / 0.8575 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.0001642/0.93, allocations: 111.2 kB / 1.098 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.9303, allocations: 115.9 kB / 1.098 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9303, allocations: 4 kB / 1.098 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.9304, allocations: 57.62 kB / 1.098 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.9307, allocations: 16 kB / 1.098 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.9316, allocations: 0.5325 MB / 1.099 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.9319, allocations: 0.7008 MB / 1.099 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.9321, allocations: 24.62 kB / 1.099 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.9321, allocations: 19.44 kB / 1.099 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.9321, allocations: 0 / 1.099 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of Templates: time 0.004048/0.9362, allocations: 1.102 MB / 1.1 GB, free: 6.137 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches