Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001582/0.001582, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001514/0.001514, allocations: 188 kB / 17.2 MB, free: 5.938 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.541/2.541, allocations: 437.1 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 72.69 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3378, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00376/0.3416, allocations: 2.031 MB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3428, allocations: 0.5805 MB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.3429, allocations: 0 / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.343, allocations: 23.67 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.918e-05/0.3432, allocations: 35.66 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.3435, allocations: 75.86 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3437, allocations: 236 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.344, allocations: 108.3 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3441, allocations: 95.58 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3443, allocations: 99.52 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.3443, allocations: 24 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.3444, allocations: 32 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.3445, allocations: 59.83 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3446, allocations: 103.5 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.3449, allocations: 263.4 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3449, allocations: 4 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3449, allocations: 0 / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.345, allocations: 0 / 1.022 GB, free: 6.805 MB / 0.795 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.0008504/0.3458, allocations: 0.5219 MB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3459, allocations: 12.92 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.3459, allocations: 24.66 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.3463, allocations: 248.7 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3463, allocations: 12.38 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.3464, allocations: 24.31 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.3468, allocations: 221.1 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3468, allocations: 4 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.3468, allocations: 8 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3468, allocations: 4 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.3472, allocations: 139.9 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009548/0.3481, allocations: 0.5972 MB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.3485, allocations: 126.6 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3486, allocations: 48.84 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.3487, allocations: 4 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.3487, allocations: 42.55 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3487, allocations: 0 / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004621/0.3492, allocations: 161.6 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.3493, allocations: 140.5 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3495, allocations: 210.9 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3496, allocations: 33.7 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3497, allocations: 144.2 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.3497, allocations: 35.56 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.3498, allocations: 33.7 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3499, allocations: 330.8 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3501, allocations: 43.98 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3502, allocations: 92.94 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.3505, allocations: 95.44 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3505, allocations: 0 / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003203/0.3508, allocations: 153.2 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3508, allocations: 4 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.3508, allocations: 0 / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3508, allocations: 4 kB / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.351, allocations: 27.95 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.351, allocations: 384 / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.3511, allocations: 31.88 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3511, allocations: 7.938 kB / 1.025 GB, free: 2.992 MB / 0.795 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.0001371/0.3513, allocations: 129.8 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.3513, allocations: 19.75 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.3517, allocations: 154.9 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3517, allocations: 3.938 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3517, allocations: 0 / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3517, allocations: 0 / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.352, allocations: 277.4 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.352, allocations: 0 / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.502e-05/0.3521, allocations: 15.98 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3522, allocations: 0 / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3522, allocations: 7.938 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3522, allocations: 3.938 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3522, allocations: 7.984 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3525, allocations: 223.3 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.3526, allocations: 92.91 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3526, allocations: 8 kB / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3528, allocations: 19.92 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.3529, allocations: 27.95 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3529, allocations: 4 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001377/0.353, allocations: 160.3 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.353, allocations: 0 / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002635/0.3533, allocations: 39.84 kB / 1.026 GB, free: 1.727 MB / 0.795 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.000156/0.3535, allocations: 107.2 kB / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.3538, allocations: 120.1 kB / 1.026 GB, free: 1.496 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3538, allocations: 3.938 kB / 1.026 GB, free: 1.492 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.354, allocations: 55.91 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3543, allocations: 17.31 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.3549, allocations: 350.9 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3553, allocations: 0.7322 MB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3554, allocations: 19.42 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3554, allocations: 4 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of Templates: time 0.004444/0.3599, allocations: 2.374 MB / 1.03 GB, free: 13.89 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches