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.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.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.001531/0.001531, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001529/0.001529, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.296/2.296, allocations: 390.2 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.69 kB / 0.8127 GB, free: 32.44 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2694, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003743/0.2732, allocations: 2.078 MB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2744, allocations: 0.5572 MB / 0.9524 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.2746, allocations: 4 kB / 0.9524 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.2748, allocations: 11.86 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2749, allocations: 23.8 kB / 0.9524 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.2753, allocations: 71.88 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.2756, allocations: 228 kB / 0.9527 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.2758, allocations: 113.6 kB / 0.9528 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.276, allocations: 99.62 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2762, allocations: 99.47 kB / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2762, allocations: 24 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.2763, allocations: 32 kB / 0.953 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.2764, allocations: 63.7 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2765, allocations: 107.5 kB / 0.9532 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.2768, allocations: 199.8 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2768, allocations: 4 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2768, allocations: 3.938 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2768, allocations: 4 kB / 0.9534 GB, free: 5.473 MB / 0.7325 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.0008386/0.2776, allocations: 0.5178 MB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2777, allocations: 12.03 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.2778, allocations: 28.66 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.2781, allocations: 256.7 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.2782, allocations: 12.38 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.2782, allocations: 20.38 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.2787, allocations: 228.8 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2787, allocations: 0 / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.2787, allocations: 8 kB / 0.9544 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2787, allocations: 8 kB / 0.9545 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.279, allocations: 139.9 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.2801, allocations: 0.5896 MB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.2804, allocations: 122.7 kB / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.2806, allocations: 48.83 kB / 0.9553 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.2806, allocations: 8 kB / 0.9553 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2806, allocations: 38.67 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.2807, allocations: 0 / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004739/0.2811, allocations: 169.4 kB / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.2812, allocations: 136.5 kB / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2814, allocations: 207.2 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2814, allocations: 37.69 kB / 0.9559 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2816, allocations: 144.2 kB / 0.956 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.2816, allocations: 31.55 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.2817, allocations: 34.08 kB / 0.9561 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2818, allocations: 334.8 kB / 0.9564 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2819, allocations: 43.98 kB / 0.9565 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2821, allocations: 92.12 kB / 0.9565 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.2823, allocations: 93.56 kB / 0.9566 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2823, allocations: 4 kB / 0.9566 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.2827, allocations: 157.4 kB / 0.9568 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2827, allocations: 4 kB / 0.9568 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2827, allocations: 0 / 0.9568 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2827, allocations: 4 kB / 0.9568 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2828, allocations: 23.86 kB / 0.9568 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.2829, allocations: 0 / 0.9568 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.283, allocations: 31.91 kB / 0.9568 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.283, allocations: 0 / 0.9568 GB, free: 1.664 MB / 0.7325 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 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.2832, allocations: 137.8 kB / 0.957 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.2832, allocations: 15.81 kB / 0.957 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.2836, allocations: 150.9 kB / 0.9571 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2836, allocations: 3.938 kB / 0.9571 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2836, allocations: 4 kB / 0.9571 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2836, allocations: 0 / 0.9571 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.2839, allocations: 269.4 kB / 0.9574 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2839, allocations: 0 / 0.9574 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.284, allocations: 23.92 kB / 0.9574 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.284, allocations: 0 / 0.9574 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.284, allocations: 0 / 0.9574 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.2841, allocations: 7.938 kB / 0.9574 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2841, allocations: 3.984 kB / 0.9574 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.2844, allocations: 227.3 kB / 0.9577 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.2844, allocations: 92.91 kB / 0.9577 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.2845, allocations: 8 kB / 0.9577 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2846, allocations: 19.92 kB / 0.9578 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.2847, allocations: 27.95 kB / 0.9578 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2848, allocations: 4.188 kB / 0.9578 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000133/0.2849, allocations: 152.4 kB / 0.9579 GB, free: 448 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2849, allocations: 3.938 kB / 0.9579 GB, free: 444 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002791/0.2852, allocations: 43.84 kB / 0.958 GB, free: 400 kB / 0.7325 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 (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.0001727/0.2854, allocations: 113.6 kB / 0.9581 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.2857, allocations: 107.8 kB / 0.9582 GB, free: 172 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2857, allocations: 3.938 kB / 0.9582 GB, free: 168 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2858, allocations: 60.03 kB / 0.9583 GB, free: 108 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2862, allocations: 23.88 kB / 0.9583 GB, free: 84 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.2869, allocations: 426.8 kB / 0.9587 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2873, allocations: 0.7318 MB / 0.9594 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.2874, allocations: 23.42 kB / 0.9594 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2874, allocations: 0 / 0.9594 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.004802/0.2922, allocations: 2.381 MB / 0.9618 GB, free: 12.48 MB / 0.7481 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/jenkins1/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