Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0011/0.0011, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.001068/0.001068, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.7428 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.91 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7303, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003219/0.7336, allocations: 2.035 MB / 1.223 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.7346, allocations: 0.5775 MB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.7348, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.7349, allocations: 23.72 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.735, allocations: 39.61 kB / 1.224 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.7353, allocations: 79.89 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.7356, allocations: 228 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.7358, allocations: 119.6 kB / 1.224 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.736, allocations: 91.58 kB / 1.224 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.7361, allocations: 107.5 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.7362, allocations: 24 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.7362, allocations: 28 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.7363, allocations: 55.78 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.7364, allocations: 107.4 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.7367, allocations: 278.8 kB / 1.225 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7367, allocations: 4 kB / 1.225 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7368, allocations: 0 / 1.225 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.7368, allocations: 0 / 1.225 GB, free: 14.59 MB / 0.9512 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.0007799/0.7375, allocations: 0.516 MB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7376, allocations: 12.62 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.7377, allocations: 24.66 kB / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.738, allocations: 260.6 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.738, allocations: 16.38 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.738, allocations: 16.38 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.7384, allocations: 225 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7385, allocations: 0 / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.7385, allocations: 12 kB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.7385, allocations: 11.94 kB / 1.226 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.7388, allocations: 135.9 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.7397, allocations: 0.5855 MB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.7401, allocations: 126.7 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.7402, allocations: 48.84 kB / 1.227 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.7402, allocations: 4 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.7403, allocations: 38.69 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.7403, allocations: 0 / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004786/0.7408, allocations: 173.3 kB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.7408, allocations: 136.5 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.741, allocations: 214.9 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.7411, allocations: 29.7 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.7412, allocations: 140.2 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.7412, allocations: 39.53 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.7413, allocations: 37.7 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7414, allocations: 334.8 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.7415, allocations: 43.98 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.7417, allocations: 76.27 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.7419, allocations: 100.8 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7419, allocations: 0 / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003102/0.7422, allocations: 153.5 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7422, allocations: 9.875 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7422, allocations: 0 / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.7423, allocations: 0 / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.7424, allocations: 23.95 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.7424, allocations: 3.938 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.7426, allocations: 35.81 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.7426, allocations: 4 kB / 1.228 GB, free: 10.77 MB / 0.9512 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.0001183/0.7427, allocations: 130.4 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.7428, allocations: 15.81 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.7431, allocations: 151 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7431, allocations: 0 / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7431, allocations: 3.938 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.7432, allocations: 88.92 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.7432, allocations: 8 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.7434, allocations: 23.91 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.7435, allocations: 28 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003781/0.7439, allocations: 217.3 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003427/0.7442, allocations: 310.5 kB / 1.229 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001213/0.7443, allocations: 55.91 kB / 1.229 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001138/0.7445, allocations: 156.4 kB / 1.229 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of Backend: time 2.81e-07/0.7445, allocations: 0 / 1.229 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.745, allocations: 146.4 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007064/0.7457, allocations: 0.7603 MB / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of Templates: time 0.00542/0.7512, allocations: 2.445 MB / 1.232 GB, free: 6.195 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches