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.001405/0.001405, allocations: 103.9 kB / 16.35 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.001568/0.001568, allocations: 194.3 kB / 17.3 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.349/1.349, 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.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.38 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2382, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003087/0.2414, allocations: 2.046 MB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009003/0.2423, allocations: 0.565 MB / 0.9537 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.2424, allocations: 4 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.2425, allocations: 23.67 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.2426, allocations: 35.66 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.2429, allocations: 79.86 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.2431, allocations: 227.9 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.2433, allocations: 111.6 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.2434, allocations: 95.62 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2435, allocations: 99.47 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.2436, allocations: 24 kB / 0.9543 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.2436, allocations: 36 kB / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.2437, allocations: 55.83 kB / 0.9544 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.2438, allocations: 103.5 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.2441, allocations: 283 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2441, allocations: 0 / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2441, allocations: 0 / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2441, allocations: 0 / 0.9548 GB, free: 4.258 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.0007105/0.2448, allocations: 0.518 MB / 0.9553 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2449, allocations: 8.031 kB / 0.9553 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.245, allocations: 24.66 kB / 0.9553 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.2452, allocations: 256.7 kB / 0.9556 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2453, allocations: 12.38 kB / 0.9556 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.2453, allocations: 20.38 kB / 0.9556 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.2457, allocations: 225.1 kB / 0.9558 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.2457, allocations: 0 / 0.9558 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2457, allocations: 12 kB / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2457, allocations: 7.984 kB / 0.9559 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.246, allocations: 139.9 kB / 0.956 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.2469, allocations: 0.5817 MB / 0.9566 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.2472, allocations: 130.6 kB / 0.9567 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2473, allocations: 44.84 kB / 0.9567 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2474, allocations: 4 kB / 0.9567 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2474, allocations: 38.56 kB / 0.9568 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.985e-06/0.2474, allocations: 0 / 0.9568 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004482/0.2479, allocations: 173.5 kB / 0.9569 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.248, allocations: 136.5 kB / 0.9571 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.2481, allocations: 211 kB / 0.9573 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.2482, allocations: 33.7 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.2483, allocations: 148.2 kB / 0.9574 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2483, allocations: 35.55 kB / 0.9575 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.2484, allocations: 33.7 kB / 0.9575 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2485, allocations: 330.8 kB / 0.9578 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.2486, allocations: 43.98 kB / 0.9579 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2488, allocations: 92.2 kB / 0.9579 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.249, allocations: 89.69 kB / 0.958 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.249, allocations: 0 / 0.958 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002953/0.2493, allocations: 153.4 kB / 0.9582 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2493, allocations: 4 kB / 0.9582 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2493, allocations: 0 / 0.9582 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2493, allocations: 4 kB / 0.9582 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2495, allocations: 27.95 kB / 0.9582 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2495, allocations: 0 / 0.9582 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2496, allocations: 27.83 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2496, allocations: 4 kB / 0.9582 GB, free: 468 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.0001238/0.2498, allocations: 141.8 kB / 0.9584 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.2498, allocations: 15.81 kB / 0.9584 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.2501, allocations: 151.3 kB / 0.9585 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2502, allocations: 3.938 kB / 0.9585 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2502, allocations: 3.984 kB / 0.9585 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2502, allocations: 96 / 0.9585 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.2505, allocations: 277.5 kB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2505, allocations: 0 / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-05/0.2506, allocations: 15.98 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2506, allocations: 0 / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2506, allocations: 0 / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2506, allocations: 11.94 kB / 0.9588 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2506, allocations: 0 / 0.9588 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.2509, allocations: 231.2 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.251, allocations: 88.92 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.251, allocations: 8 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.2512, allocations: 23.91 kB / 0.9592 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.2513, allocations: 28 kB / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.2513, allocations: 15.92 kB / 0.9592 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001125/0.2514, allocations: 148.4 kB / 0.9594 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2514, allocations: 0 / 0.9594 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002772/0.2517, allocations: 43.84 kB / 0.9594 GB, free: 15.17 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.0001335/0.2519, allocations: 111.2 kB / 0.9595 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.2522, allocations: 115.9 kB / 0.9596 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2522, allocations: 0 / 0.9596 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.2523, allocations: 55.92 kB / 0.9597 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.2526, allocations: 26.39 kB / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.2532, allocations: 317.1 kB / 0.96 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.2534, allocations: 0.7357 MB / 0.9607 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.697e-05/0.2535, allocations: 17.42 kB / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.2536, allocations: 27.42 kB / 0.9608 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2536, allocations: 0 / 0.9608 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of Templates: time 0.004853/0.2585, allocations: 2.165 MB / 0.9629 GB, free: 11.58 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 gbode -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