Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.476/2.476, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 68.02 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7738, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002594/0.7764, allocations: 2.071 MB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.7772, allocations: 0.5685 MB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.7772, allocations: 2.688 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.7773, allocations: 29.17 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.7774, allocations: 38.67 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.7777, allocations: 81.09 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.7778, allocations: 230.2 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.778, allocations: 90.45 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.7781, allocations: 86.66 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.7782, allocations: 108.3 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.7783, allocations: 24.31 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.7783, allocations: 35.14 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.7784, allocations: 50.73 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.7785, allocations: 103 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.7787, allocations: 285 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7787, allocations: 3.938 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7787, allocations: 1 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.7787, allocations: 0 / 1.275 GB, free: 5.25 MB / 0.9981 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.0006043/0.7793, allocations: 0.5195 MB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.7794, allocations: 9.438 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.7794, allocations: 52.14 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.7795, allocations: 33.94 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.7797, allocations: 257.6 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.7797, allocations: 11.44 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.7797, allocations: 20.75 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.7801, allocations: 230.5 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7801, allocations: 0 / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.7801, allocations: 6.672 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.7801, allocations: 4.094 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.7804, allocations: 143.5 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.7811, allocations: 0.5907 MB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.7814, allocations: 113.6 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7815, allocations: 55.28 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.7816, allocations: 9.359 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.7816, allocations: 31.53 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.7816, allocations: 1.188 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004057/0.782, allocations: 170 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.782, allocations: 134.9 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.7822, allocations: 215.2 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.7822, allocations: 31.89 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.7822, allocations: 144.6 kB / 1.278 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.7823, allocations: 30.36 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.7823, allocations: 39.22 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.7823, allocations: 324.7 kB / 1.278 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.7825, allocations: 48.33 kB / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.7826, allocations: 86.91 kB / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.7828, allocations: 87.39 kB / 1.278 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7828, allocations: 384 / 1.278 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002703/0.783, allocations: 165.5 kB / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.783, allocations: 5.562 kB / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.783, allocations: 0 / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7831, allocations: 9.031 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.7832, allocations: 19.83 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.7832, allocations: 1.375 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.7833, allocations: 25.44 kB / 1.279 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.7833, allocations: 7.781 kB / 1.279 GB, free: 2.59 MB / 0.9981 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 8.207e-05/0.7834, allocations: 140.9 kB / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.7834, allocations: 16.53 kB / 1.279 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.7837, allocations: 145.2 kB / 1.279 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7837, allocations: 5.594 kB / 1.279 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.7837, allocations: 0 / 1.279 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7837, allocations: 3.516 kB / 1.279 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.7839, allocations: 278.8 kB / 1.279 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7839, allocations: 0 / 1.279 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.784, allocations: 24.02 kB / 1.279 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.784, allocations: 0 / 1.279 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.784, allocations: 6.953 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.784, allocations: 3.938 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.784, allocations: 1.031 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.7843, allocations: 228.2 kB / 1.279 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.7843, allocations: 99.48 kB / 1.279 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.7843, allocations: 1.781 kB / 1.279 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.7845, allocations: 25.97 kB / 1.28 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.7846, allocations: 24.03 kB / 1.28 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.7846, allocations: 3.906 kB / 1.28 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.239e-05/0.7847, allocations: 150.4 kB / 1.28 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7847, allocations: 0.9062 kB / 1.28 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002536/0.7849, allocations: 44.17 kB / 1.28 GB, free: 1.707 MB / 0.9981 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.0004204/0.7853, allocations: 0.7759 MB / 1.28 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.7856, allocations: 107.5 kB / 1.281 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7856, allocations: 1.828 kB / 1.281 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.7857, allocations: 49.14 kB / 1.281 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.786, allocations: 32.94 kB / 1.281 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.7881, allocations: 2.001 MB / 1.283 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.7884, allocations: 0.7313 MB / 1.283 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.7885, allocations: 22.09 kB / 1.283 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.7886, allocations: 63.42 kB / 1.283 GB, free: 14.68 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.7886, allocations: 2.188 kB / 1.283 GB, free: 14.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.8136, allocations: 3.974 MB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.98, allocations: 4.469 kB / 1.287 GB, free: 14.16 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,temPro.TEva,temPro.TEvaMin,temPro.errLowPre,temPro.TCon,temPro.TConMax,temPro.errHigPre,temPro.errNegTemDif Variables in the result:TCon.amplitude,TCon.f,TCon.offset,TCon.phase,TCon.startTime,TCon.y,TEva.amplitude,TEva.f,TEva.offset,TEva.phase,TEva.startTime,TEva.y,one.k,one.y,temPro.TCon,temPro.TConMax,temPro.TEva,temPro.TEvaMin,temPro.dTHys,temPro.errHigPre,temPro.errLowPre,temPro.errNegTemDif,temPro.pre_y_start,temPro.u,temPro.y,time [Calling sys.exit(0), Time elapsed: 13.202512101999673]