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.001182/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001184/0.001184, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2521, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00303/0.2551, allocations: 2.095 MB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.256, allocations: 0.561 MB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.256, allocations: 4 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.2562, allocations: 11.86 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.2562, allocations: 31.72 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2565, allocations: 71.94 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.2567, allocations: 227.9 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2569, allocations: 113.2 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.257, allocations: 83.66 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2572, allocations: 103.5 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2572, allocations: 24 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.2573, allocations: 43.94 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.2573, allocations: 55.83 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.2574, allocations: 107.4 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.2577, allocations: 263.4 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2577, allocations: 0 / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2577, allocations: 0 / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2577, allocations: 0 / 1.056 GB, free: 4.844 MB / 0.8106 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.0006862/0.2584, allocations: 0.5191 MB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2584, allocations: 8.625 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.2585, allocations: 54.73 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.2586, allocations: 28.66 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.2588, allocations: 252.7 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2589, allocations: 16.31 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.2589, allocations: 20.36 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.2593, allocations: 228.7 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2593, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2593, allocations: 12 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2593, allocations: 4 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.2596, allocations: 139.9 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.2605, allocations: 0.5974 MB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.2608, allocations: 111 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.2609, allocations: 56.77 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.261, allocations: 4 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.261, allocations: 38.56 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.261, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000419/0.2614, allocations: 165.6 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.2615, allocations: 136.5 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2617, allocations: 212.4 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2617, allocations: 37.64 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.2618, allocations: 148.1 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.2619, allocations: 31.62 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.2619, allocations: 37.7 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.262, allocations: 326.8 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.2621, allocations: 47.97 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.2623, allocations: 92.27 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.2625, allocations: 92.75 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2625, allocations: 0 / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002934/0.2628, allocations: 149.4 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2628, allocations: 5.719 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2628, allocations: 0 / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2629, allocations: 11.97 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.263, allocations: 15.98 kB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.263, allocations: 0 / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2631, allocations: 31.88 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2631, allocations: 4 kB / 1.06 GB, free: 0.9805 MB / 0.8106 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.0001117/0.2633, allocations: 137.7 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.2633, allocations: 15.81 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.2636, allocations: 151 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2637, allocations: 3.938 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2637, allocations: 0 / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2637, allocations: 0 / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.2639, allocations: 269.4 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2639, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.2641, allocations: 27.92 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2641, allocations: 48 / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2641, allocations: 15.97 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2641, allocations: 3.938 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2641, allocations: 0 / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.2644, allocations: 227.3 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.2645, allocations: 92.91 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.2645, allocations: 8 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.2647, allocations: 23.92 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.2647, allocations: 23.95 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2648, allocations: 4 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001188/0.2649, allocations: 151.4 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2649, allocations: 4 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002713/0.2652, allocations: 39.84 kB / 1.061 GB, free: 15.71 MB / 0.8262 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.0005741/0.2657, allocations: 0.7786 MB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.266, allocations: 107.9 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2661, allocations: 4 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.2662, allocations: 55.91 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2665, allocations: 20 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.2688, allocations: 2.043 MB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.269, allocations: 0.7319 MB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.106e-05/0.2691, allocations: 21.42 kB / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.2693, allocations: 63.41 kB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2693, allocations: 0 / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/1.374, allocations: 3.715 MB / 1.068 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/1.375, allocations: 249.5 kB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/3.07, allocations: 0 / 1.068 GB, free: 7.988 MB / 0.8262 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) Reference file matches