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.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.392/2.392, allocations: 390.2 MB / 0.6646 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7108, allocations: 140.3 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002261/0.7131, allocations: 1.331 MB / 0.9509 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.883, allocations: 148.1 MB / 1.095 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.8831, allocations: 0 / 1.095 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.072e-05/0.8833, allocations: 3.984 kB / 1.095 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.8834, allocations: 15.86 kB / 1.096 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009643/0.8843, allocations: 326.6 kB / 1.096 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.8844, allocations: 63.77 kB / 1.096 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.8845, allocations: 4 kB / 1.096 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.8845, allocations: 31.91 kB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.8846, allocations: 31.89 kB / 1.096 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.8847, allocations: 4 kB / 1.096 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.8855, allocations: 410.8 kB / 1.096 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.8856, allocations: 23.91 kB / 1.096 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.8856, allocations: 23.92 kB / 1.096 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.8859, allocations: 157.6 kB / 1.097 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8859, allocations: 0 / 1.097 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.886, allocations: 4 kB / 1.097 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.886, allocations: 0 / 1.097 GB, free: 10.75 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.0004656/0.8864, allocations: 387.3 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.8865, allocations: 12.03 kB / 1.097 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.8869, allocations: 40.81 kB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.887, allocations: 172.3 kB / 1.097 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8871, allocations: 7.875 kB / 1.097 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.8871, allocations: 12 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.8873, allocations: 73.66 kB / 1.097 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.8873, allocations: 0 / 1.097 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.8873, allocations: 0 / 1.097 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8873, allocations: 0 / 1.097 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.8874, allocations: 51.89 kB / 1.097 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.8876, allocations: 197.4 kB / 1.097 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.8878, allocations: 82.7 kB / 1.098 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.8879, allocations: 36.83 kB / 1.098 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.8881, allocations: 178.2 kB / 1.098 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.8881, allocations: 38.89 kB / 1.098 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 3.847e-06/0.8881, allocations: 0 / 1.098 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001275/0.8894, allocations: 0.5364 MB / 1.098 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.8895, allocations: 55.41 kB / 1.098 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.8895, allocations: 105.7 kB / 1.098 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.8896, allocations: 33.7 kB / 1.098 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.8896, allocations: 80.52 kB / 1.099 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.8897, allocations: 70.98 kB / 1.099 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.8897, allocations: 37.72 kB / 1.099 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8898, allocations: 326.8 kB / 1.099 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.8899, allocations: 36.09 kB / 1.099 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.89, allocations: 75.34 kB / 1.099 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.8902, allocations: 111.4 kB / 1.099 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8902, allocations: 0 / 1.099 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002209/0.8904, allocations: 161.5 kB / 1.099 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8904, allocations: 8 kB / 1.099 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8904, allocations: 0 / 1.099 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8905, allocations: 8 kB / 1.099 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.8906, allocations: 35.92 kB / 1.099 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8906, allocations: 4 kB / 1.099 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.8907, allocations: 11.92 kB / 1.099 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.8907, allocations: 12 kB / 1.099 GB, free: 7.477 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 8.78e-05/0.8908, allocations: 113.8 kB / 1.1 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.8909, allocations: 7.906 kB / 1.1 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.8909, allocations: 20.42 kB / 1.1 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8909, allocations: 4 kB / 1.1 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8909, allocations: 4 kB / 1.1 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8909, allocations: 7.875 kB / 1.1 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.8911, allocations: 193.6 kB / 1.1 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8911, allocations: 0 / 1.1 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.8913, allocations: 35.98 kB / 1.1 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8913, allocations: 0 / 1.1 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.8913, allocations: 4 kB / 1.1 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8913, allocations: 4 kB / 1.1 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8913, allocations: 0 / 1.1 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.8916, allocations: 224.5 kB / 1.1 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.8917, allocations: 89 kB / 1.1 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.8917, allocations: 8 kB / 1.1 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.8919, allocations: 12.05 kB / 1.1 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.8919, allocations: 11.92 kB / 1.1 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.8919, allocations: 11.94 kB / 1.1 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.892, allocations: 75.28 kB / 1.1 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.892, allocations: 0 / 1.1 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002204/0.8922, allocations: 36.09 kB / 1.1 GB, free: 6.535 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.0001589/0.8924, allocations: 103.2 kB / 1.1 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.8926, allocations: 115.8 kB / 1.1 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.8926, allocations: 0 / 1.1 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.8927, allocations: 57.8 kB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.893, allocations: 17.5 kB / 1.101 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.894, allocations: 0.509 MB / 1.101 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.8943, allocations: 0.7008 MB / 1.102 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.8945, allocations: 24.64 kB / 1.102 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.8945, allocations: 15.44 kB / 1.102 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.8945, allocations: 0 / 1.102 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of Templates: time 0.004275/0.8988, allocations: 1.113 MB / 1.103 GB, free: 3.832 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