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.001324/0.001324, allocations: 103.6 kB / 16.4 MB, free: 5.977 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.001334/0.001334, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.89 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7471, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002724/0.7499, allocations: 1.33 MB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.162/0.9119, allocations: 148.1 MB / 1.313 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.912, allocations: 0 / 1.313 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.912, allocations: 7.922 kB / 1.313 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.9122, allocations: 15.92 kB / 1.313 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.9134, allocations: 338.6 kB / 1.314 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.9135, allocations: 63.77 kB / 1.314 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.9136, allocations: 15.98 kB / 1.314 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.9137, allocations: 31.91 kB / 1.314 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.9138, allocations: 27.91 kB / 1.314 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.9138, allocations: 4 kB / 1.314 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.9147, allocations: 414.8 kB / 1.314 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.9148, allocations: 15.98 kB / 1.314 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.9148, allocations: 27.86 kB / 1.314 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.9152, allocations: 157.4 kB / 1.314 GB, free: 12.78 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9152, allocations: 3.938 kB / 1.314 GB, free: 12.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9152, allocations: 0 / 1.314 GB, free: 12.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9152, allocations: 7.938 kB / 1.314 GB, free: 12.77 MB / 1.045 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.0005194/0.9157, allocations: 391.3 kB / 1.315 GB, free: 12.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9158, allocations: 12.92 kB / 1.315 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.9162, allocations: 36.89 kB / 1.315 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.9164, allocations: 160.4 kB / 1.315 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.9164, allocations: 7.938 kB / 1.315 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.9164, allocations: 15.91 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.9166, allocations: 81.64 kB / 1.315 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9166, allocations: 0 / 1.315 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.9166, allocations: 4 kB / 1.315 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9166, allocations: 0 / 1.315 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.9167, allocations: 47.89 kB / 1.315 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.917, allocations: 185.5 kB / 1.315 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.9172, allocations: 90.69 kB / 1.315 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.9172, allocations: 33.17 kB / 1.315 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.9175, allocations: 178.1 kB / 1.315 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9175, allocations: 38.5 kB / 1.315 GB, free: 11.31 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.9175, allocations: 0 / 1.315 GB, free: 11.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001403/0.9189, allocations: 0.5408 MB / 1.316 GB, free: 10.72 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.919, allocations: 51.41 kB / 1.316 GB, free: 10.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.919, allocations: 101.8 kB / 1.316 GB, free: 10.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.9191, allocations: 33.7 kB / 1.316 GB, free: 10.51 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.9191, allocations: 84.64 kB / 1.316 GB, free: 10.42 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.9192, allocations: 67.02 kB / 1.316 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.9193, allocations: 45.47 kB / 1.316 GB, free: 10.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9194, allocations: 322.8 kB / 1.317 GB, free: 9.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.9195, allocations: 31.98 kB / 1.317 GB, free: 9.949 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.9195, allocations: 75.33 kB / 1.317 GB, free: 9.863 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.9197, allocations: 123.3 kB / 1.317 GB, free: 9.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9197, allocations: 0 / 1.317 GB, free: 9.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002197/0.92, allocations: 153.5 kB / 1.317 GB, free: 9.574 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.92, allocations: 8 kB / 1.317 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.92, allocations: 0 / 1.317 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.92, allocations: 7.984 kB / 1.317 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.9202, allocations: 39.92 kB / 1.317 GB, free: 9.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.9202, allocations: 7.984 kB / 1.317 GB, free: 9.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.9203, allocations: 3.938 kB / 1.317 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.9203, allocations: 12 kB / 1.317 GB, free: 9.496 MB / 1.045 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.773e-05/0.9204, allocations: 125.7 kB / 1.317 GB, free: 9.363 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.9204, allocations: 4 kB / 1.317 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.9205, allocations: 16.44 kB / 1.317 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.9205, allocations: 4 kB / 1.317 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.9205, allocations: 3.938 kB / 1.317 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.9205, allocations: 3.938 kB / 1.317 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.9207, allocations: 193.6 kB / 1.317 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9207, allocations: 3.984 kB / 1.317 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.9209, allocations: 40.11 kB / 1.318 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9209, allocations: 0 / 1.318 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.9209, allocations: 8 kB / 1.318 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.9209, allocations: 4 kB / 1.318 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9209, allocations: 3.938 kB / 1.318 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.9212, allocations: 217.2 kB / 1.318 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.9213, allocations: 89.08 kB / 1.318 GB, free: 8.699 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.9214, allocations: 8.062 kB / 1.318 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.9215, allocations: 8 kB / 1.318 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.9215, allocations: 15.92 kB / 1.318 GB, free: 8.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.9215, allocations: 4 kB / 1.318 GB, free: 8.664 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.9216, allocations: 75.28 kB / 1.318 GB, free: 8.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9216, allocations: 4 kB / 1.318 GB, free: 8.586 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002244/0.9218, allocations: 28 kB / 1.318 GB, free: 8.559 MB / 1.045 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.0001494/0.922, allocations: 115.3 kB / 1.318 GB, free: 8.434 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.9222, allocations: 103.8 kB / 1.318 GB, free: 8.332 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9222, allocations: 0 / 1.318 GB, free: 8.332 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.9223, allocations: 51.92 kB / 1.318 GB, free: 8.281 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.9225, allocations: 19.98 kB / 1.318 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.9233, allocations: 0.5247 MB / 1.319 GB, free: 7.707 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.9236, allocations: 0.6969 MB / 1.319 GB, free: 6.984 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.9237, allocations: 15.44 kB / 1.319 GB, free: 6.969 MB / 1.045 GB Notification: Performance of SimCode: time 2.11e-07/0.9237, allocations: 0 / 1.319 GB, free: 6.969 MB / 1.045 GB Notification: Performance of Templates: time 0.002861/0.9266, allocations: 1.311 MB / 1.321 GB, free: 5.656 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches