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.007645/0.007645, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.001921/0.001921, allocations: 190.1 kB / 16.67 MB, free: 5.961 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.155/2.155, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7535, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002923/0.7564, allocations: 2.026 MB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009032/0.7574, allocations: 0.5699 MB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.7575, allocations: 6.469 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.7576, allocations: 25.08 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.7577, allocations: 37.67 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.758, allocations: 83.94 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.7583, allocations: 227.3 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.7585, allocations: 115.2 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.7586, allocations: 87.56 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.7588, allocations: 103.5 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.7588, allocations: 28.75 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.7589, allocations: 28.77 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.646e-05/0.759, allocations: 53.28 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.7591, allocations: 109.4 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.7594, allocations: 280.9 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7594, allocations: 3.938 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7594, allocations: 0 / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7594, allocations: 4.875 kB / 1.091 GB, free: 2.812 MB / 0.8575 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.0007071/0.7601, allocations: 0.5144 MB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7602, allocations: 10.31 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.7602, allocations: 48.83 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.7603, allocations: 29.66 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.7606, allocations: 257.3 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.7606, allocations: 11.72 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.7607, allocations: 20.56 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.7611, allocations: 230.7 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7611, allocations: 0 / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.7611, allocations: 6.188 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.7611, allocations: 3.938 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.7614, allocations: 144.2 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008529/0.7623, allocations: 0.5827 MB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.7626, allocations: 120.6 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.7628, allocations: 53.61 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.7628, allocations: 6.406 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.7628, allocations: 32.89 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.7628, allocations: 0 / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004572/0.7633, allocations: 176.6 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.7634, allocations: 134.6 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.7636, allocations: 210.9 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.7636, allocations: 29.48 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.7637, allocations: 146.7 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.7637, allocations: 30.88 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.7638, allocations: 35.14 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.7638, allocations: 332.2 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.7639, allocations: 46.48 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.7641, allocations: 87.45 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.7643, allocations: 92.33 kB / 1.094 GB, free: 276 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7643, allocations: 0.9062 kB / 1.094 GB, free: 276 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002984/0.7646, allocations: 162.7 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.7646, allocations: 5.906 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7646, allocations: 0.7812 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7647, allocations: 5.531 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.7648, allocations: 20.58 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.7648, allocations: 0.875 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.7649, allocations: 28.23 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.765, allocations: 8.422 kB / 1.095 GB, free: 172 kB / 0.8575 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.655e-05/0.7651, allocations: 142.3 kB / 1.095 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.7651, allocations: 16.77 kB / 1.095 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.7655, allocations: 144.9 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7655, allocations: 5.375 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7655, allocations: 1.672 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.7655, allocations: 0 / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.7659, allocations: 273 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7659, allocations: 0.6094 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.766, allocations: 18.88 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.766, allocations: 0.8125 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.766, allocations: 2.219 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.766, allocations: 9.156 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.766, allocations: 1.141 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.7664, allocations: 231.5 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.7664, allocations: 94.77 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.7665, allocations: 7.594 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.7666, allocations: 28.64 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.7667, allocations: 23.97 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.7667, allocations: 4.328 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001451/0.7669, allocations: 151.5 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7669, allocations: 0 / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002821/0.7672, allocations: 44.94 kB / 1.096 GB, free: 15.3 MB / 0.8731 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.0006603/0.7678, allocations: 0.7732 MB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.7682, allocations: 109.8 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7682, allocations: 1.188 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.7683, allocations: 56.95 kB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.7687, allocations: 23.45 kB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.7712, allocations: 1.986 MB / 1.099 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.7715, allocations: 0.7277 MB / 1.099 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.87e-05/0.7716, allocations: 20.61 kB / 1.099 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.7717, allocations: 64.98 kB / 1.099 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.7717, allocations: 0 / 1.099 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.7952, allocations: 4.072 MB / 1.103 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.574, allocations: 22.08 kB / 1.103 GB, free: 11.75 MB / 0.8731 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) "" 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