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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001605/0.001605, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001889/0.001889, allocations: 195 kB / 16.14 MB, free: 6.648 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 71.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.6505, allocations: 140.3 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002559/0.6531, allocations: 2.088 MB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.6539, allocations: 0.5469 MB / 0.9516 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.654, allocations: 6.875 kB / 0.9516 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.6541, allocations: 15.8 kB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.6542, allocations: 23.88 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.6544, allocations: 78.16 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.6545, allocations: 211.3 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.6547, allocations: 106.8 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.9e-05/0.6548, allocations: 77.86 kB / 0.9521 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.6549, allocations: 92.3 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.6549, allocations: 12.28 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.655, allocations: 27.12 kB / 0.9523 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.6551, allocations: 38.91 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.6551, allocations: 102.1 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.6553, allocations: 253 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6554, allocations: 0 / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6554, allocations: 1.156 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6554, allocations: 0 / 0.9526 GB, free: 6.309 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.0006118/0.656, allocations: 0.5207 MB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.656, allocations: 10.09 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.6561, allocations: 57 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.6561, allocations: 29.84 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.6564, allocations: 247.8 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6564, allocations: 20.22 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.6564, allocations: 16.06 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.6568, allocations: 239.7 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6568, allocations: 0 / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6568, allocations: 6.281 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6568, allocations: 4.281 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.6571, allocations: 140.4 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.6578, allocations: 0.5925 MB / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.6582, allocations: 116 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.6583, allocations: 48.28 kB / 0.9546 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.6583, allocations: 2.438 kB / 0.9546 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.6583, allocations: 39.88 kB / 0.9547 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.6583, allocations: 0 / 0.9547 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003985/0.6587, allocations: 181.2 kB / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.6588, allocations: 131.3 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.6589, allocations: 214.4 kB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.659, allocations: 31.89 kB / 0.9552 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.659, allocations: 143.5 kB / 0.9553 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.6591, allocations: 35.75 kB / 0.9554 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.6591, allocations: 38.36 kB / 0.9554 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.6592, allocations: 331.8 kB / 0.9557 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.6593, allocations: 43.52 kB / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.6594, allocations: 87.27 kB / 0.9558 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.6596, allocations: 95.75 kB / 0.9559 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6596, allocations: 0 / 0.9559 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002698/0.6599, allocations: 153.8 kB / 0.9561 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6599, allocations: 5.562 kB / 0.9561 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6599, allocations: 1.125 kB / 0.9561 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6599, allocations: 8.938 kB / 0.9561 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.66, allocations: 20.8 kB / 0.9561 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.66, allocations: 1.25 kB / 0.9561 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.6602, allocations: 28.95 kB / 0.9561 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.6602, allocations: 7.516 kB / 0.9561 GB, free: 3.312 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 8.749e-05/0.6603, allocations: 130.1 kB / 0.9563 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.6603, allocations: 21.31 kB / 0.9563 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.6606, allocations: 149 kB / 0.9564 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6606, allocations: 3.938 kB / 0.9564 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6607, allocations: 0 / 0.9564 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6607, allocations: 0 / 0.9564 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.6609, allocations: 265.2 kB / 0.9567 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6609, allocations: 0 / 0.9567 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.661, allocations: 19.08 kB / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.661, allocations: 0 / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.661, allocations: 14.97 kB / 0.9567 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.661, allocations: 4.406 kB / 0.9567 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.661, allocations: 0 / 0.9567 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.6613, allocations: 233.1 kB / 0.9569 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.6613, allocations: 96.92 kB / 0.957 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.6613, allocations: 2.906 kB / 0.957 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.6615, allocations: 31.12 kB / 0.9571 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.6616, allocations: 25.52 kB / 0.9571 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.6616, allocations: 3.906 kB / 0.9571 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.779e-05/0.6617, allocations: 149 kB / 0.9572 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.81e-07/0.6617, allocations: 0 / 0.9572 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002521/0.6619, allocations: 44.44 kB / 0.9573 GB, free: 2.324 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.0004274/0.6624, allocations: 0.7769 MB / 0.958 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.6626, allocations: 106 kB / 0.9581 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6626, allocations: 1.5 kB / 0.9581 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.6628, allocations: 57.8 kB / 0.9582 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.6631, allocations: 25.86 kB / 0.9582 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.665, allocations: 2.036 MB / 0.9602 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.6653, allocations: 0.7289 MB / 0.9609 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.911e-05/0.6654, allocations: 24.14 kB / 0.9609 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.6655, allocations: 60.62 kB / 0.961 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.6655, allocations: 0 / 0.961 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4976/1.163, allocations: 3.572 MB / 0.9645 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003723/1.163, allocations: 236.3 kB / 0.9647 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.006, allocations: 0 / 0.9647 GB, free: 13.14 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