Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 102 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.055/3.055, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 69.03 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.329, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003887/0.3328, allocations: 2.068 MB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3342, allocations: 0.6583 MB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3344, allocations: 3.938 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.3345, allocations: 27.73 kB / 1.324 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.3347, allocations: 39.59 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.335, allocations: 95.83 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.3354, allocations: 228 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.3356, allocations: 91.91 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.3359, allocations: 91.72 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3361, allocations: 115.3 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.3361, allocations: 24 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.3362, allocations: 36 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.3363, allocations: 55.77 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.3364, allocations: 111.4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.3369, allocations: 278.8 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3369, allocations: 0 / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3369, allocations: 0 / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.3369, allocations: 0 / 1.325 GB, free: 15.39 MB / 1.029 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.0009921/0.3379, allocations: 0.5334 MB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3379, allocations: 11.98 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.53e-05/0.338, allocations: 54.73 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.3383, allocations: 48.72 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.3388, allocations: 263.9 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3388, allocations: 12.38 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.3389, allocations: 16.38 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.3393, allocations: 232.6 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3394, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3394, allocations: 8 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.3394, allocations: 7.984 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.3397, allocations: 135.9 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.341, allocations: 0.6012 MB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.3415, allocations: 114.8 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3416, allocations: 41.03 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3416, allocations: 7.938 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.3417, allocations: 34.56 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3417, allocations: 0 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000499/0.3422, allocations: 169.4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3423, allocations: 132.5 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.3425, allocations: 215.5 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3425, allocations: 29.7 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3427, allocations: 152.3 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3427, allocations: 31.73 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3428, allocations: 49.64 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.343, allocations: 326.8 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3431, allocations: 51.97 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3432, allocations: 79.14 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3435, allocations: 89.62 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3435, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003287/0.3439, allocations: 157.4 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3439, allocations: 8 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3439, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3439, allocations: 3.938 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.344, allocations: 15.98 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.344, allocations: 4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3442, allocations: 27.92 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3442, allocations: 8.031 kB / 1.328 GB, free: 11.48 MB / 1.029 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.0001451/0.3444, allocations: 137.7 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3444, allocations: 23.84 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.3445, allocations: 21.41 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3445, allocations: 7.938 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3445, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3445, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.3448, allocations: 273.5 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3448, allocations: 4 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.3449, allocations: 12 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3449, allocations: 0 / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3449, allocations: 7.984 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.3449, allocations: 3.938 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3449, allocations: 0 / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.3453, allocations: 223.3 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.3454, allocations: 101 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3454, allocations: 4 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.3456, allocations: 27.91 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.3457, allocations: 23.97 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.3457, allocations: 0 / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001504/0.3458, allocations: 164.6 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3458, allocations: 96 / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002784/0.3461, allocations: 39.83 kB / 1.329 GB, free: 10.34 MB / 1.029 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.0007394/0.3468, allocations: 0.7748 MB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.3472, allocations: 107.9 kB / 1.33 GB, free: 9.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3472, allocations: 4.062 kB / 1.33 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3473, allocations: 47.97 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3477, allocations: 26.31 kB / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.3506, allocations: 2.011 MB / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.351, allocations: 0.7358 MB / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.3511, allocations: 21.45 kB / 1.333 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3512, allocations: 67.41 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.3512, allocations: 288 / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.3814, allocations: 4.001 MB / 1.337 GB, free: 2.582 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.402, allocations: 2.344 kB / 1.337 GB, free: 2.582 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.6933725529816]