Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001332/0.001332, allocations: 80.55 kB / 19.96 MB, free: 4.59 MB / 18.57 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.001525/0.001525, allocations: 177.2 kB / 23.24 MB, free: 1.316 MB / 18.57 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.091/1.091, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.078/2.078, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.324e-05, allocations: 5.938 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003234/0.003257, allocations: 2.002 MB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.004362, allocations: 0.6078 MB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004492, allocations: 4 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.004636, allocations: 31.66 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/0.004723, allocations: 35.61 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.005101, allocations: 99.75 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.005347, allocations: 240 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.005533, allocations: 79.98 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.005865, allocations: 151.5 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.005952, allocations: 71.72 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.005978, allocations: 24 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.006044, allocations: 36 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.006099, allocations: 59.81 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.006152, allocations: 67.77 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.006423, allocations: 295 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.006426, allocations: 0 / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.312e-06/0.006428, allocations: 0 / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.006434, allocations: 0 / 1.004 GB, free: 9.691 MB / 0.9636 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.0005777/0.007012, allocations: 461.2 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.00705, allocations: 9.344 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.007097, allocations: 50.73 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.007291, allocations: 48.77 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.007603, allocations: 202.1 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.007619, allocations: 16.31 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.007639, allocations: 20.38 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.007942, allocations: 306.2 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.007951, allocations: 4.188 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.00797, allocations: 12.12 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.007976, allocations: 4 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.008168, allocations: 143.7 kB / 1.006 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.008822, allocations: 0.507 MB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.009084, allocations: 118.7 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.009156, allocations: 48.91 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.009172, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.0092, allocations: 38.69 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 9.81e-07/0.009201, allocations: 0 / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0003266/0.009527, allocations: 169.7 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.009588, allocations: 136.5 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.009746, allocations: 219.1 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.009767, allocations: 33.8 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.00985, allocations: 156.3 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.009871, allocations: 31.73 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.00992, allocations: 33.7 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003903/0.01031, allocations: 330.8 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.01039, allocations: 43.98 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01051, allocations: 164.8 kB / 1.008 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.01063, allocations: 89.62 kB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01063, allocations: 0 / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001904/0.01082, allocations: 149.6 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01084, allocations: 11.98 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01084, allocations: 0 / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01086, allocations: 3.938 kB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.01093, allocations: 16.02 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01093, allocations: 8 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.01101, allocations: 27.81 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01102, allocations: 8 kB / 1.008 GB, free: 5.852 MB / 0.9636 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.0001007/0.01112, allocations: 138.5 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.01115, allocations: 15.91 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.01118, allocations: 17.47 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01118, allocations: 11.88 kB / 1.008 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01118, allocations: 4 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01119, allocations: 7.922 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.01139, allocations: 224.6 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01139, allocations: 0 / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.01144, allocations: 12 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01144, allocations: 0 / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01145, allocations: 3.984 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01145, allocations: 0 / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01145, allocations: 4 kB / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.01166, allocations: 235.3 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.01168, allocations: 15.84 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.0117, allocations: 8 kB / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.01178, allocations: 23.97 kB / 1.009 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.01184, allocations: 23.95 kB / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.01185, allocations: 8.031 kB / 1.009 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.728e-05/0.01194, allocations: 156.6 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01194, allocations: 0 / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001768/0.01212, allocations: 43.84 kB / 1.009 GB, free: 4.852 MB / 0.9636 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.0004175/0.01253, allocations: 0.7709 MB / 1.01 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.01273, allocations: 107.8 kB / 1.01 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01273, allocations: 0 / 1.01 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.0128, allocations: 47.98 kB / 1.01 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01303, allocations: 28.72 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.01493, allocations: 1.993 MB / 1.012 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.637e-05/0.01502, allocations: 129.2 kB / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.178e-05/0.01508, allocations: 21.52 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.01517, allocations: 64.47 kB / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of SimCode: time 9.72e-07/0.01517, allocations: 0 / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08866/0.1038, allocations: 4.797 MB / 1.017 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/7.336, allocations: 12.38 kB / 1.017 GB, free: 12.95 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.3766665533185]