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: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005915/0.005915, allocations: 101 kB / 15.87 MB, free: 5.867 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.001232/0.001232, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.387/2.387, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6909, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003953/0.6949, allocations: 2.084 MB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.696, allocations: 0.5519 MB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.6961, allocations: 2.594 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.6962, allocations: 17.23 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.6963, allocations: 30.47 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.6966, allocations: 74.06 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.6968, allocations: 207.5 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.697, allocations: 115.8 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.6971, allocations: 72.75 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.6972, allocations: 100.7 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.6973, allocations: 11.88 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.6974, allocations: 19.38 kB / 0.9528 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.6974, allocations: 39.14 kB / 0.9528 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/0.6975, allocations: 93.33 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.6977, allocations: 205.5 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6977, allocations: 3.984 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6977, allocations: 1.062 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6978, allocations: 0 / 0.9531 GB, free: 6.375 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.00073/0.6985, allocations: 0.5245 MB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6985, allocations: 8.969 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.6986, allocations: 25.91 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.6989, allocations: 256.5 kB / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.6989, allocations: 15.94 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.699, allocations: 15.69 kB / 0.9539 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.6993, allocations: 233.1 kB / 0.9542 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6994, allocations: 0 / 0.9542 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.6994, allocations: 9.188 kB / 0.9542 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.6994, allocations: 4.812 kB / 0.9542 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.6997, allocations: 135.9 kB / 0.9543 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.7006, allocations: 0.5999 MB / 0.9549 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.7009, allocations: 113.9 kB / 0.955 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.701, allocations: 55.11 kB / 0.955 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.7011, allocations: 10.36 kB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.7011, allocations: 35.72 kB / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.7011, allocations: 1.25 kB / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000452/0.7016, allocations: 161 kB / 0.9552 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.7016, allocations: 138.4 kB / 0.9554 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.7018, allocations: 213.8 kB / 0.9556 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.7018, allocations: 37.11 kB / 0.9556 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.7019, allocations: 140.5 kB / 0.9558 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.7019, allocations: 30.42 kB / 0.9558 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.702, allocations: 39.3 kB / 0.9558 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.7021, allocations: 326.9 kB / 0.9561 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.7022, allocations: 47.72 kB / 0.9562 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.7023, allocations: 86.27 kB / 0.9563 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.7026, allocations: 95.88 kB / 0.9564 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7026, allocations: 0 / 0.9564 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002903/0.7029, allocations: 155.8 kB / 0.9565 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.7029, allocations: 3.594 kB / 0.9565 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.7029, allocations: 7.562 kB / 0.9565 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7029, allocations: 384 / 0.9565 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.703, allocations: 22.55 kB / 0.9565 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.7031, allocations: 0 / 0.9565 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.7032, allocations: 31.31 kB / 0.9566 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.7032, allocations: 7.594 kB / 0.9566 GB, free: 3.441 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 0.0001187/0.7034, allocations: 140.1 kB / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.7034, allocations: 17.22 kB / 0.9567 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.7037, allocations: 147.1 kB / 0.9569 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.7038, allocations: 5 kB / 0.9569 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7038, allocations: 0 / 0.9569 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7038, allocations: 1.156 kB / 0.9569 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.704, allocations: 272.2 kB / 0.9571 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.704, allocations: 1.219 kB / 0.9571 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.7042, allocations: 18.48 kB / 0.9571 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7042, allocations: 5.156 kB / 0.9571 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.7042, allocations: 5.203 kB / 0.9572 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7042, allocations: 3.938 kB / 0.9572 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7042, allocations: 0 / 0.9572 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.7045, allocations: 225.5 kB / 0.9574 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.7045, allocations: 101.2 kB / 0.9575 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.7046, allocations: 6.25 kB / 0.9575 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.7047, allocations: 28.34 kB / 0.9575 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.7048, allocations: 21.44 kB / 0.9575 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.7048, allocations: 6.859 kB / 0.9575 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001141/0.705, allocations: 149.4 kB / 0.9577 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.705, allocations: 1.094 kB / 0.9577 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000287/0.7053, allocations: 39.88 kB / 0.9577 GB, free: 2.453 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.0001634/0.7054, allocations: 120.9 kB / 0.9578 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.7057, allocations: 113.7 kB / 0.9579 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7057, allocations: 0 / 0.9579 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.7059, allocations: 49.95 kB / 0.958 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.7063, allocations: 24.31 kB / 0.958 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.7069, allocations: 410 kB / 0.9584 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.7071, allocations: 0.7341 MB / 0.9591 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.7071, allocations: 25.27 kB / 0.9591 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.7072, allocations: 0 / 0.9591 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.004708/0.7119, allocations: 2.368 MB / 0.9614 GB, free: 15.98 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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