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.0052/0.0052, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001122/0.001122, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.597/2.597, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 1.018 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.869, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002161/0.8712, allocations: 1.347 MB / 1.168 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1692/1.04, allocations: 148.1 MB / 1.312 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/1.04, allocations: 0 / 1.312 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/1.041, allocations: 3.984 kB / 1.313 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/1.041, allocations: 19.84 kB / 1.313 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/1.042, allocations: 338.6 kB / 1.313 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/1.042, allocations: 67.75 kB / 1.313 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/1.042, allocations: 4 kB / 1.313 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/1.042, allocations: 35.91 kB / 1.313 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/1.042, allocations: 31.89 kB / 1.313 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/1.042, allocations: 4 kB / 1.313 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000787/1.043, allocations: 410.8 kB / 1.313 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/1.043, allocations: 15.92 kB / 1.313 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/1.043, allocations: 27.92 kB / 1.313 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/1.043, allocations: 156.1 kB / 1.314 GB, free: 12.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.043, allocations: 4 kB / 1.314 GB, free: 12.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/1.043, allocations: 0 / 1.314 GB, free: 12.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.043, allocations: 0 / 1.314 GB, free: 12.72 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.0004628/1.044, allocations: 391.1 kB / 1.314 GB, free: 12.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.044, allocations: 16.86 kB / 1.314 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/1.044, allocations: 36.84 kB / 1.314 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/1.044, allocations: 168.3 kB / 1.314 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/1.044, allocations: 7.938 kB / 1.314 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/1.045, allocations: 15.95 kB / 1.314 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/1.045, allocations: 77.64 kB / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.045, allocations: 0 / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/1.045, allocations: 4 kB / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.045, allocations: 4 kB / 1.314 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/1.045, allocations: 47.89 kB / 1.314 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/1.045, allocations: 181.6 kB / 1.314 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/1.045, allocations: 86.69 kB / 1.315 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/1.045, allocations: 37.17 kB / 1.315 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/1.046, allocations: 182.1 kB / 1.315 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/1.046, allocations: 42.48 kB / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/1.046, allocations: 0 / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001267/1.047, allocations: 0.5438 MB / 1.315 GB, free: 10.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.047, allocations: 55.41 kB / 1.315 GB, free: 10.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/1.047, allocations: 101.7 kB / 1.315 GB, free: 10.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.047, allocations: 33.7 kB / 1.316 GB, free: 10.44 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/1.047, allocations: 84.52 kB / 1.316 GB, free: 10.36 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/1.047, allocations: 71.52 kB / 1.316 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/1.047, allocations: 41.56 kB / 1.316 GB, free: 10.24 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.047, allocations: 322.8 kB / 1.316 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/1.047, allocations: 31.98 kB / 1.316 GB, free: 9.883 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/1.048, allocations: 81.56 kB / 1.316 GB, free: 9.793 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/1.048, allocations: 115.4 kB / 1.316 GB, free: 9.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.048, allocations: 4 kB / 1.316 GB, free: 9.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002054/1.048, allocations: 157.5 kB / 1.316 GB, free: 9.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.048, allocations: 4 kB / 1.316 GB, free: 9.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.048, allocations: 0 / 1.316 GB, free: 9.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.048, allocations: 4 kB / 1.316 GB, free: 9.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.048, allocations: 47.91 kB / 1.316 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/1.048, allocations: 0 / 1.316 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/1.048, allocations: 11.94 kB / 1.316 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/1.048, allocations: 4 kB / 1.316 GB, free: 9.434 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 9.624e-05/1.048, allocations: 121.8 kB / 1.317 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/1.048, allocations: 7.953 kB / 1.317 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/1.048, allocations: 16.44 kB / 1.317 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.048, allocations: 7.938 kB / 1.317 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.048, allocations: 0 / 1.317 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/1.048, allocations: 7.922 kB / 1.317 GB, free: 9.262 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/1.049, allocations: 189.6 kB / 1.317 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/1.049, allocations: 0 / 1.317 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/1.049, allocations: 39.98 kB / 1.317 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.049, allocations: 0 / 1.317 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.049, allocations: 4 kB / 1.317 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/1.049, allocations: 4 kB / 1.317 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.049, allocations: 0 / 1.317 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/1.049, allocations: 220.7 kB / 1.317 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/1.049, allocations: 85.09 kB / 1.317 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/1.049, allocations: 8.062 kB / 1.317 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.049, allocations: 8 kB / 1.317 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/1.05, allocations: 19.88 kB / 1.317 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.05, allocations: 4 kB / 1.317 GB, free: 8.605 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.099e-05/1.05, allocations: 83.28 kB / 1.317 GB, free: 8.523 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 0 / 1.317 GB, free: 8.523 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002177/1.05, allocations: 24 kB / 1.317 GB, free: 8.5 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.0001441/1.05, allocations: 107.2 kB / 1.317 GB, free: 8.383 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002134/1.05, allocations: 114.4 kB / 1.317 GB, free: 8.273 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.05, allocations: 4 kB / 1.317 GB, free: 8.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.765e-05/1.05, allocations: 47.92 kB / 1.318 GB, free: 8.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/1.05, allocations: 20.11 kB / 1.318 GB, free: 8.203 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/1.051, allocations: 0.5005 MB / 1.318 GB, free: 7.676 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.052, allocations: 0.7008 MB / 1.319 GB, free: 6.949 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.876e-05/1.052, allocations: 24.62 kB / 1.319 GB, free: 6.926 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/1.052, allocations: 15.44 kB / 1.319 GB, free: 6.91 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/1.052, allocations: 4 kB / 1.319 GB, free: 6.906 MB / 1.045 GB Notification: Performance of Templates: time 0.003768/1.055, allocations: 1.134 MB / 1.32 GB, free: 5.777 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches