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.001724/0.001724, allocations: 109.1 kB / 16.27 MB, free: 6.414 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.002114/0.002114, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.527/2.527, allocations: 437 MB / 0.711 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 68.41 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3267, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00351/0.3303, allocations: 2.029 MB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3313, allocations: 0.5805 MB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.3314, allocations: 3.938 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.3316, allocations: 19.73 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.3317, allocations: 35.59 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.332, allocations: 75.92 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3323, allocations: 232 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.3325, allocations: 108.3 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3327, allocations: 99.56 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3328, allocations: 95.55 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.3328, allocations: 27.98 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.3329, allocations: 31.98 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.333, allocations: 55.84 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.632e-05/0.3331, allocations: 107.4 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.3334, allocations: 271.4 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3334, allocations: 0 / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3334, allocations: 0 / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3334, allocations: 0 / 1.022 GB, free: 6.852 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.0007924/0.3342, allocations: 0.5181 MB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3343, allocations: 8.922 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.3343, allocations: 28.66 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.3347, allocations: 252.7 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3347, allocations: 16.38 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.3347, allocations: 12.38 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.3351, allocations: 229 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3351, allocations: 0 / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.3352, allocations: 12 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3352, allocations: 4 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.3355, allocations: 139.7 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.3364, allocations: 0.5972 MB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.3368, allocations: 118.7 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3369, allocations: 56.77 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.337, allocations: 4 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.337, allocations: 30.56 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.337, allocations: 4 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004625/0.3375, allocations: 173.5 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3376, allocations: 136.5 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3378, allocations: 211.1 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3378, allocations: 33.7 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.3379, allocations: 144.2 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3379, allocations: 31.55 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.338, allocations: 41.7 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3381, allocations: 326.8 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3382, allocations: 47.97 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3384, allocations: 80.89 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.3386, allocations: 99.31 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3386, allocations: 4 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002903/0.3389, allocations: 152.4 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3389, allocations: 4 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3389, allocations: 3.984 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.339, allocations: 4.375 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3391, allocations: 27.89 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3391, allocations: 0 / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3393, allocations: 23.89 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3393, allocations: 7.938 kB / 1.025 GB, free: 3.043 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.000127/0.3394, allocations: 136.6 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.3395, allocations: 19.81 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.3398, allocations: 150.9 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3398, allocations: 3.938 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3398, allocations: 0 / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3399, allocations: 3.984 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3401, allocations: 273.4 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3401, allocations: 0 / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.973e-05/0.3402, allocations: 19.92 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3403, allocations: 0 / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3403, allocations: 4 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.3403, allocations: 15.88 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3403, allocations: 0 / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.3406, allocations: 223.2 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.3407, allocations: 92.92 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.3407, allocations: 8 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3409, allocations: 23.91 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.341, allocations: 23.97 kB / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.341, allocations: 7.984 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001244/0.3411, allocations: 152.4 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3411, allocations: 0 / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002798/0.3414, allocations: 39.84 kB / 1.026 GB, free: 1.777 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.0001725/0.3416, allocations: 107.2 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.3419, allocations: 124 kB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3419, allocations: 0 / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3421, allocations: 51.92 kB / 1.026 GB, free: 1.492 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3424, allocations: 23.98 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.3431, allocations: 354.9 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3434, allocations: 0.7322 MB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.3435, allocations: 23.42 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3435, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of Templates: time 0.004616/0.3481, allocations: 2.37 MB / 1.03 GB, free: 13.95 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=480 -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