Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001421/0.001421, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6798, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001796/0.6816, allocations: 1.692 MB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007201/0.6824, allocations: 0.5201 MB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.6825, allocations: 2.812 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.6826, allocations: 15.8 kB / 0.9566 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.6826, allocations: 27.25 kB / 0.9566 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.6829, allocations: 49.5 kB / 0.9567 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.683, allocations: 208.1 kB / 0.9569 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.6832, allocations: 91.41 kB / 0.957 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.6833, allocations: 55.97 kB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.6834, allocations: 75.27 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.6835, allocations: 6.906 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.144e-05/0.6835, allocations: 21.2 kB / 0.9571 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.6836, allocations: 30.98 kB / 0.9572 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.6836, allocations: 56.7 kB / 0.9572 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.6838, allocations: 193.1 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6838, allocations: 0 / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6838, allocations: 1.781 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6838, allocations: 0 / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005652/0.6844, allocations: 0.4992 MB / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.6844, allocations: 9.625 kB / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.6845, allocations: 29.2 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.6848, allocations: 244.7 kB / 0.9582 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6848, allocations: 15.25 kB / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.6848, allocations: 19.19 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.6852, allocations: 230.5 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6852, allocations: 0 / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.6852, allocations: 6.375 kB / 0.9584 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.6852, allocations: 4.625 kB / 0.9584 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.6855, allocations: 154.4 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007911/0.6863, allocations: 0.6002 MB / 0.9592 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.6867, allocations: 125.2 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6868, allocations: 64.27 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.6868, allocations: 1.375 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.6868, allocations: 32.12 kB / 0.9594 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.6868, allocations: 1.375 kB / 0.9594 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003936/0.6872, allocations: 180 kB / 0.9595 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.6873, allocations: 137.8 kB / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.6874, allocations: 213 kB / 0.9599 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.6875, allocations: 32.45 kB / 0.9599 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.6875, allocations: 143.2 kB / 0.96 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.6876, allocations: 31.67 kB / 0.9601 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.6876, allocations: 5.375 kB / 0.9601 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.6876, allocations: 327 kB / 0.9604 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.6877, allocations: 51.47 kB / 0.9604 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.6879, allocations: 88.27 kB / 0.9605 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.688, allocations: 54.11 kB / 0.9606 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.688, allocations: 0 / 0.9606 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002695/0.6883, allocations: 161.1 kB / 0.9607 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6883, allocations: 6.906 kB / 0.9607 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6883, allocations: 4 kB / 0.9607 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.6883, allocations: 1.156 kB / 0.9607 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6884, allocations: 22.98 kB / 0.9608 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6884, allocations: 5.031 kB / 0.9608 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.6886, allocations: 40.88 kB / 0.9608 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.6886, allocations: 8.25 kB / 0.9608 GB, free: 2.539 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.206e-05/0.6887, allocations: 129.7 kB / 0.9609 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.6888, allocations: 24.86 kB / 0.961 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.6891, allocations: 157.3 kB / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6891, allocations: 1.531 kB / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6891, allocations: 1.062 kB / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6891, allocations: 0 / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.6893, allocations: 272.7 kB / 0.9614 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6893, allocations: 0 / 0.9614 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.6894, allocations: 21.58 kB / 0.9614 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6895, allocations: 3.953 kB / 0.9614 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6895, allocations: 9.109 kB / 0.9614 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6895, allocations: 0.7812 kB / 0.9614 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6895, allocations: 8.75 kB / 0.9614 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.6898, allocations: 223.4 kB / 0.9616 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.6898, allocations: 101.9 kB / 0.9617 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.6898, allocations: 5.922 kB / 0.9617 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.69, allocations: 31.67 kB / 0.9618 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.6901, allocations: 29.88 kB / 0.9618 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.6901, allocations: 10.41 kB / 0.9618 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001022/0.6902, allocations: 148.4 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6902, allocations: 1.156 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002727/0.6905, allocations: 40.25 kB / 0.962 GB, free: 1.543 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.6906, allocations: 116 kB / 0.9621 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.6909, allocations: 112.9 kB / 0.9622 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6909, allocations: 0 / 0.9622 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.6911, allocations: 62.83 kB / 0.9623 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.6914, allocations: 20.48 kB / 0.9623 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.692, allocations: 382.3 kB / 0.9626 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.6921, allocations: 0.7329 MB / 0.9634 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.863e-05/0.6922, allocations: 19.23 kB / 0.9634 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.6923, allocations: 21.14 kB / 0.9634 GB, free: 332 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6923, allocations: 0 / 0.9634 GB, free: 332 kB / 0.7169 GB Notification: Performance of Templates: time 0.004697/0.697, allocations: 1.809 MB / 0.9652 GB, free: 15.43 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches