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.001062/0.001062, allocations: 106.9 kB / 16.36 MB, free: 5.875 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.001065/0.001065, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.25 kB / 0.814 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2599, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003252/0.2632, allocations: 2.034 MB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.2642, allocations: 0.5727 MB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.2643, allocations: 3.938 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2644, allocations: 23.72 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.2645, allocations: 39.61 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.2648, allocations: 83.83 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.265, allocations: 224 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2652, allocations: 111.6 kB / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2654, allocations: 95.64 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2655, allocations: 103.5 kB / 0.9543 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.2655, allocations: 28 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.2656, allocations: 39.94 kB / 0.9544 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.2657, allocations: 47.84 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.285e-05/0.2658, allocations: 111.4 kB / 0.9545 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.266, allocations: 271 kB / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.266, allocations: 0 / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.512e-06/0.266, allocations: 0 / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2661, allocations: 0 / 0.9548 GB, free: 4.277 MB / 0.7325 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.0007011/0.2668, allocations: 0.5219 MB / 0.9553 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2668, allocations: 8.031 kB / 0.9553 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.2669, allocations: 28.66 kB / 0.9553 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.2672, allocations: 252.7 kB / 0.9556 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2672, allocations: 12.38 kB / 0.9556 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.2672, allocations: 20.38 kB / 0.9556 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.2676, allocations: 233 kB / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2676, allocations: 0 / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.2677, allocations: 8 kB / 0.9558 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2677, allocations: 4 kB / 0.9558 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.268, allocations: 139.9 kB / 0.956 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.2689, allocations: 0.5895 MB / 0.9566 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2692, allocations: 114.8 kB / 0.9567 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2693, allocations: 49.03 kB / 0.9567 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.2693, allocations: 7.938 kB / 0.9567 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2694, allocations: 34.56 kB / 0.9568 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.2694, allocations: 3.938 kB / 0.9568 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004209/0.2698, allocations: 177.3 kB / 0.9569 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.2699, allocations: 136.5 kB / 0.9571 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.2701, allocations: 215 kB / 0.9573 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.2701, allocations: 29.7 kB / 0.9573 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2702, allocations: 140.2 kB / 0.9574 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.2703, allocations: 39.53 kB / 0.9575 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.2703, allocations: 33.7 kB / 0.9575 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2704, allocations: 330.8 kB / 0.9578 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2706, allocations: 47.98 kB / 0.9579 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2707, allocations: 92.02 kB / 0.9579 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.2709, allocations: 89.62 kB / 0.958 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2709, allocations: 4 kB / 0.958 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002789/0.2712, allocations: 153.4 kB / 0.9582 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2712, allocations: 4 kB / 0.9582 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2712, allocations: 4 kB / 0.9582 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2713, allocations: 0 / 0.9582 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2714, allocations: 23.92 kB / 0.9582 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2714, allocations: 0 / 0.9582 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2715, allocations: 31.91 kB / 0.9582 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.2716, allocations: 4 kB / 0.9582 GB, free: 480 kB / 0.7325 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.0001125/0.2717, allocations: 133.8 kB / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.2717, allocations: 19.81 kB / 0.9584 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.2721, allocations: 143 kB / 0.9585 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2721, allocations: 7.875 kB / 0.9585 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2721, allocations: 0 / 0.9585 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2721, allocations: 12.03 kB / 0.9585 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.2724, allocations: 269.4 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2724, allocations: 0 / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2725, allocations: 15.98 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2725, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.2725, allocations: 8 kB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2725, allocations: 3.938 kB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2725, allocations: 480 / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.2728, allocations: 239.1 kB / 0.9591 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.2729, allocations: 88.92 kB / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.273, allocations: 11.98 kB / 0.9592 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.2731, allocations: 19.92 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.2732, allocations: 23.95 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2732, allocations: 8 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001191/0.2733, allocations: 152.4 kB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2733, allocations: 4 kB / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002701/0.2736, allocations: 39.84 kB / 0.9594 GB, free: 15.2 MB / 0.7481 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.0001584/0.2738, allocations: 111.2 kB / 0.9595 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.2741, allocations: 111.9 kB / 0.9596 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2741, allocations: 4 kB / 0.9596 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2742, allocations: 48.05 kB / 0.9597 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2746, allocations: 25.05 kB / 0.9597 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.2751, allocations: 327.1 kB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2754, allocations: 0.7357 MB / 0.9607 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.2755, allocations: 17.42 kB / 0.9607 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.2756, allocations: 19.42 kB / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2756, allocations: 0 / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.00489/0.2805, allocations: 2.17 MB / 0.9629 GB, free: 11.61 MB / 0.7481 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 -s cvode -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