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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 110.9 kB / 16.41 MB, free: 6.008 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: 182.3 kB / 17.34 MB, free: 5.629 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 64.25 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7535, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00234/0.7559, allocations: 1.338 MB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1578/0.9138, allocations: 148.1 MB / 1.354 GB, free: 7.648 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.9139, allocations: 3.938 kB / 1.354 GB, free: 7.645 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.9139, allocations: 7.938 kB / 1.354 GB, free: 7.637 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.9141, allocations: 11.92 kB / 1.354 GB, free: 7.625 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.9152, allocations: 326.6 kB / 1.355 GB, free: 7.305 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.9153, allocations: 67.81 kB / 1.355 GB, free: 7.238 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.9154, allocations: 8 kB / 1.355 GB, free: 7.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.9154, allocations: 35.84 kB / 1.355 GB, free: 7.195 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.9155, allocations: 31.89 kB / 1.355 GB, free: 7.164 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.9156, allocations: 7.938 kB / 1.355 GB, free: 7.156 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008757/0.9165, allocations: 402.8 kB / 1.355 GB, free: 6.762 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.9165, allocations: 19.97 kB / 1.355 GB, free: 6.742 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.9166, allocations: 27.86 kB / 1.355 GB, free: 6.715 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.917, allocations: 153.4 kB / 1.355 GB, free: 6.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.917, allocations: 4 kB / 1.355 GB, free: 6.566 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.917, allocations: 4 kB / 1.355 GB, free: 6.562 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.917, allocations: 0 / 1.355 GB, free: 6.562 MB / 1.076 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.0005308/0.9175, allocations: 391.3 kB / 1.356 GB, free: 6.133 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.9176, allocations: 8.031 kB / 1.356 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/0.918, allocations: 36.89 kB / 1.356 GB, free: 6.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.9182, allocations: 164.3 kB / 1.356 GB, free: 5.891 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.9182, allocations: 11.94 kB / 1.356 GB, free: 5.879 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.9183, allocations: 15.91 kB / 1.356 GB, free: 5.863 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.9184, allocations: 77.64 kB / 1.356 GB, free: 5.781 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.9185, allocations: 0 / 1.356 GB, free: 5.781 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.9185, allocations: 4 kB / 1.356 GB, free: 5.777 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9185, allocations: 0 / 1.356 GB, free: 5.777 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.9186, allocations: 47.95 kB / 1.356 GB, free: 5.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.9188, allocations: 185.5 kB / 1.356 GB, free: 5.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.919, allocations: 98.73 kB / 1.356 GB, free: 5.395 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.9191, allocations: 37 kB / 1.356 GB, free: 5.355 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.9193, allocations: 174.2 kB / 1.357 GB, free: 5.148 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.9194, allocations: 38.56 kB / 1.357 GB, free: 5.102 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.9194, allocations: 0 / 1.357 GB, free: 5.102 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001332/0.9207, allocations: 0.5393 MB / 1.357 GB, free: 4.512 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9208, allocations: 51.41 kB / 1.357 GB, free: 4.449 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.9208, allocations: 105.8 kB / 1.357 GB, free: 4.336 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.9209, allocations: 25.7 kB / 1.357 GB, free: 4.305 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.9209, allocations: 92.64 kB / 1.357 GB, free: 4.211 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.921, allocations: 59.02 kB / 1.357 GB, free: 4.152 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.921, allocations: 45.61 kB / 1.357 GB, free: 4.102 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9212, allocations: 322.8 kB / 1.358 GB, free: 3.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.9213, allocations: 31.98 kB / 1.358 GB, free: 3.746 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.9213, allocations: 77.78 kB / 1.358 GB, free: 3.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.9215, allocations: 119.3 kB / 1.358 GB, free: 3.531 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9215, allocations: 0 / 1.358 GB, free: 3.531 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002255/0.9218, allocations: 157.5 kB / 1.358 GB, free: 3.371 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9218, allocations: 10.03 kB / 1.358 GB, free: 3.363 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.9218, allocations: 3.984 kB / 1.358 GB, free: 3.359 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9218, allocations: 3.938 kB / 1.358 GB, free: 3.355 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.922, allocations: 35.98 kB / 1.358 GB, free: 3.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.922, allocations: 4 kB / 1.358 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.9221, allocations: 7.938 kB / 1.358 GB, free: 3.309 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.9221, allocations: 12 kB / 1.358 GB, free: 3.297 MB / 1.076 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.924e-05/0.9222, allocations: 125.7 kB / 1.358 GB, free: 3.164 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.9222, allocations: 4 kB / 1.358 GB, free: 3.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.9223, allocations: 16.44 kB / 1.358 GB, free: 3.145 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9223, allocations: 4 kB / 1.358 GB, free: 3.141 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9223, allocations: 0 / 1.358 GB, free: 3.141 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.9223, allocations: 7.922 kB / 1.358 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.9225, allocations: 193.6 kB / 1.359 GB, free: 2.895 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.9225, allocations: 128 / 1.359 GB, free: 2.895 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.9227, allocations: 51.92 kB / 1.359 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.9227, allocations: 0 / 1.359 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.9227, allocations: 0 / 1.359 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9227, allocations: 3.938 kB / 1.359 GB, free: 2.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9227, allocations: 0 / 1.359 GB, free: 2.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.9231, allocations: 223.2 kB / 1.359 GB, free: 2.605 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.9231, allocations: 85.09 kB / 1.359 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.9232, allocations: 4.062 kB / 1.359 GB, free: 2.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.9233, allocations: 12 kB / 1.359 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.9234, allocations: 15.92 kB / 1.359 GB, free: 2.473 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.9234, allocations: 8 kB / 1.359 GB, free: 2.465 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.9234, allocations: 83.2 kB / 1.359 GB, free: 2.383 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9234, allocations: 0 / 1.359 GB, free: 2.383 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002329/0.9237, allocations: 28 kB / 1.359 GB, free: 2.355 MB / 1.076 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.0001352/0.9238, allocations: 107.3 kB / 1.359 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.924, allocations: 103.9 kB / 1.359 GB, free: 2.137 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.924, allocations: 0 / 1.359 GB, free: 2.137 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.9241, allocations: 51.92 kB / 1.359 GB, free: 2.086 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.9244, allocations: 15.98 kB / 1.359 GB, free: 2.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.9252, allocations: 0.5419 MB / 1.36 GB, free: 1.496 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.9255, allocations: 0.7008 MB / 1.361 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.9256, allocations: 15.44 kB / 1.361 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of SimCode: time 2.11e-07/0.9256, allocations: 0 / 1.361 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of Templates: time 0.003005/0.9286, allocations: 1.307 MB / 1.362 GB, free: 15.45 MB / 1.092 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches