Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.621/0.6224, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003319/0.6258, allocations: 2.024 MB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000866/0.6267, allocations: 0.5624 MB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.6268, allocations: 1.719 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.6269, allocations: 25.23 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.594e-05/0.627, allocations: 37.97 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.6272, allocations: 82.42 kB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.6274, allocations: 226 kB / 0.9526 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.6276, allocations: 115.7 kB / 0.9527 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.6277, allocations: 84.95 kB / 0.9528 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.6278, allocations: 110 kB / 0.9529 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.6279, allocations: 23.81 kB / 0.9529 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.628, allocations: 32.47 kB / 0.953 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.628, allocations: 59.12 kB / 0.953 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.6281, allocations: 101.3 kB / 0.9531 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.6283, allocations: 272.2 kB / 0.9534 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.6283, allocations: 0 / 0.9534 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6283, allocations: 0 / 0.9534 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.6284, allocations: 0.9688 kB / 0.9534 GB, free: 6.34 MB / 0.7169 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.0006896/0.629, allocations: 0.5165 MB / 0.9539 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6291, allocations: 9.125 kB / 0.9539 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.6292, allocations: 56.89 kB / 0.9539 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.6292, allocations: 29.75 kB / 0.954 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.6295, allocations: 252.6 kB / 0.9542 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.6295, allocations: 11.56 kB / 0.9542 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.6296, allocations: 15.44 kB / 0.9542 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.63, allocations: 232.7 kB / 0.9545 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.63, allocations: 0 / 0.9545 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.63, allocations: 10.66 kB / 0.9545 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.63, allocations: 3.469 kB / 0.9545 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.6303, allocations: 144.4 kB / 0.9546 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/0.6312, allocations: 0.5964 MB / 0.9552 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.6316, allocations: 116.5 kB / 0.9553 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.6317, allocations: 56.44 kB / 0.9554 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.6317, allocations: 5.828 kB / 0.9554 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6318, allocations: 35.75 kB / 0.9554 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.6318, allocations: 1.188 kB / 0.9554 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004383/0.6322, allocations: 165.7 kB / 0.9556 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.6323, allocations: 136.1 kB / 0.9557 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.6324, allocations: 213 kB / 0.9559 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.6325, allocations: 35.61 kB / 0.9559 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.6325, allocations: 143.7 kB / 0.9561 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.6326, allocations: 27.38 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.6326, allocations: 43.25 kB / 0.9561 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.6327, allocations: 326.3 kB / 0.9564 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.6328, allocations: 49.25 kB / 0.9565 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.633, allocations: 90.08 kB / 0.9566 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.6332, allocations: 84.31 kB / 0.9567 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6332, allocations: 0 / 0.9567 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002888/0.6335, allocations: 158.2 kB / 0.9568 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6336, allocations: 9.406 kB / 0.9568 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.6336, allocations: 3.984 kB / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6336, allocations: 5.75 kB / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.6337, allocations: 17.39 kB / 0.9568 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6337, allocations: 0 / 0.9568 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.6339, allocations: 34.22 kB / 0.9569 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.6339, allocations: 7.594 kB / 0.9569 GB, free: 3.352 MB / 0.7169 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 9.119e-05/0.634, allocations: 135.8 kB / 0.957 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.634, allocations: 16.06 kB / 0.957 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.6343, allocations: 147.6 kB / 0.9572 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6344, allocations: 5.312 kB / 0.9572 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6344, allocations: 0 / 0.9572 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6344, allocations: 1.375 kB / 0.9572 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.6346, allocations: 268.2 kB / 0.9574 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6346, allocations: 3.938 kB / 0.9574 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.654e-05/0.6347, allocations: 22.98 kB / 0.9575 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6347, allocations: 1.375 kB / 0.9575 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.6347, allocations: 1.375 kB / 0.9575 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6347, allocations: 11.92 kB / 0.9575 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6347, allocations: 1.375 kB / 0.9575 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.635, allocations: 228.6 kB / 0.9577 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.635, allocations: 100.9 kB / 0.9578 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.6351, allocations: 7.688 kB / 0.9578 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.6352, allocations: 21.67 kB / 0.9578 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.6353, allocations: 26.08 kB / 0.9578 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.6353, allocations: 2.375 kB / 0.9578 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.497e-05/0.6354, allocations: 162.5 kB / 0.958 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6354, allocations: 0 / 0.958 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002866/0.6357, allocations: 40.34 kB / 0.958 GB, free: 2.352 MB / 0.7169 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.0005093/0.6362, allocations: 0.7718 MB / 0.9588 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.6366, allocations: 110 kB / 0.9589 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6366, allocations: 5.531 kB / 0.9589 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6367, allocations: 62.06 kB / 0.959 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.6371, allocations: 20.66 kB / 0.959 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.6394, allocations: 1.976 MB / 0.9609 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6398, allocations: 0.7334 MB / 0.9616 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.712e-05/0.6399, allocations: 24.33 kB / 0.9616 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.64, allocations: 65.47 kB / 0.9617 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.64, allocations: 0 / 0.9617 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.6601, allocations: 3.937 MB / 0.9656 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/8.094, allocations: 20.22 kB / 0.9656 GB, free: 13.21 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches