Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_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.007285/0.007285, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001715/0.001715, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3045, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003417/0.308, allocations: 2.034 MB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3092, allocations: 0.5648 MB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.3093, allocations: 4 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.3095, allocations: 23.67 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3097, allocations: 39.59 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.31, allocations: 87.89 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.3103, allocations: 224 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.3106, allocations: 111.6 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3108, allocations: 95.56 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.311, allocations: 99.53 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.311, allocations: 28 kB / 1.211 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.3111, allocations: 32 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.3112, allocations: 51.84 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.3113, allocations: 111.4 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.3117, allocations: 275.2 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3117, allocations: 3.938 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3117, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3117, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 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.0008593/0.3126, allocations: 0.5181 MB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3126, allocations: 8.625 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.802e-05/0.3127, allocations: 58.72 kB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.3128, allocations: 28.64 kB / 1.212 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.3131, allocations: 248.7 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3132, allocations: 16.38 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3132, allocations: 20.31 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.3136, allocations: 232.8 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3136, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.3137, allocations: 4 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3137, allocations: 4 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.314, allocations: 139.9 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.315, allocations: 0.5932 MB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.3153, allocations: 122.7 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3155, allocations: 52.84 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3155, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3155, allocations: 34.56 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.3156, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004389/0.316, allocations: 173.5 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.3161, allocations: 132.5 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3163, allocations: 214.9 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3163, allocations: 33.7 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3164, allocations: 144.2 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3165, allocations: 35.48 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.3166, allocations: 37.7 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3167, allocations: 330.8 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3168, allocations: 39.98 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.317, allocations: 84.27 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3171, allocations: 89.69 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3172, allocations: 0 / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003007/0.3175, allocations: 163.1 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3175, allocations: 8 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3175, allocations: 0 / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3175, allocations: 3.938 kB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3176, allocations: 19.92 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3176, allocations: 4 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3178, allocations: 23.89 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3178, allocations: 11.97 kB / 1.214 GB, free: 2.484 MB / 0.9669 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.0001359/0.318, allocations: 137.8 kB / 1.215 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.318, allocations: 15.81 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.3183, allocations: 151.3 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3184, allocations: 11.88 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3184, allocations: 4 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3184, allocations: 0 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.3187, allocations: 265.5 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3187, allocations: 4 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3188, allocations: 15.98 kB / 1.215 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3188, allocations: 0 / 1.215 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3188, allocations: 7.938 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3188, allocations: 3.938 kB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3189, allocations: 48 / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3192, allocations: 231.3 kB / 1.215 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.3192, allocations: 96.86 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.3193, allocations: 4 kB / 1.215 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3194, allocations: 23.91 kB / 1.215 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.3195, allocations: 23.97 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3195, allocations: 7.984 kB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001272/0.3197, allocations: 148.4 kB / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3197, allocations: 0 / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000271/0.3199, allocations: 39.84 kB / 1.216 GB, free: 1.223 MB / 0.9669 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.0006486/0.3206, allocations: 0.7803 MB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3209, allocations: 119.8 kB / 1.216 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3209, allocations: 0 / 1.216 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.321, allocations: 55.92 kB / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3214, allocations: 23.92 kB / 1.217 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3238, allocations: 1.988 MB / 1.218 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3242, allocations: 0.728 MB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.552e-05/0.3243, allocations: 21.42 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3244, allocations: 63.41 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.3244, allocations: 0 / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.347, allocations: 4.09 MB / 1.223 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.73, allocations: 16.47 kB / 1.223 GB, free: 9.406 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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