Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005367/0.005367, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.583e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002308/0.002344, allocations: 0.8427 MB / 0.8137 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003674, allocations: 0.9334 MB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.003744, allocations: 0 / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.003788, allocations: 8.812 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.003917, allocations: 29.2 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.004161, allocations: 47.88 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.004307, allocations: 111.6 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004413, allocations: 22.98 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.004619, allocations: 87.73 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.004685, allocations: 27.91 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004703, allocations: 11.94 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.004745, allocations: 13.58 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.004762, allocations: 15.92 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.00479, allocations: 27.91 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.004912, allocations: 67.69 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.004915, allocations: 0.6562 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004916, allocations: 0 / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.00492, allocations: 1.219 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003848/0.005304, allocations: 440 kB / 0.8155 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.005344, allocations: 9.188 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.0055, allocations: 24.84 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005644, allocations: 164.3 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.005659, allocations: 5.75 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.00567, allocations: 8.375 kB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.005801, allocations: 101.2 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.005809, allocations: 1.938 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.005818, allocations: 4.359 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005824, allocations: 4.375 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.005864, allocations: 27.8 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.006206, allocations: 0.5385 MB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.006307, allocations: 105.2 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.00634, allocations: 41.55 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.006356, allocations: 4 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.006376, allocations: 41.33 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.006377, allocations: 0 / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001814/0.006558, allocations: 91.86 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.006602, allocations: 106.8 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.006694, allocations: 200.7 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.006711, allocations: 29.7 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.006767, allocations: 154.8 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.006793, allocations: 24.45 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.006827, allocations: 31.36 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.006942, allocations: 0.4928 MB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.006963, allocations: 13.64 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.006999, allocations: 43.03 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.007053, allocations: 51 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.007056, allocations: 3.984 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.121e-05/0.007147, allocations: 78.73 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.007159, allocations: 11.94 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007163, allocations: 0.5625 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.007171, allocations: 0.7812 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.007229, allocations: 15.92 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.007235, allocations: 0.8438 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.007267, allocations: 7.953 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.007274, allocations: 5.781 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.65e-05/0.007351, allocations: 164.6 kB / 0.818 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.007392, allocations: 15.89 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.154e-05/0.007474, allocations: 69.89 kB / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.007476, allocations: 0.8125 kB / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.007492, allocations: 0 / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.007498, allocations: 6.312 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.007673, allocations: 125.2 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.007674, allocations: 336 / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.007721, allocations: 11.98 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.007726, allocations: 4 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.007731, allocations: 0 / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.007734, allocations: 5.969 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.007737, allocations: 4 kB / 0.8182 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.007946, allocations: 470.1 kB / 0.8187 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.007963, allocations: 11.95 kB / 0.8187 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.007981, allocations: 4.5 kB / 0.8187 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.008064, allocations: 12.95 kB / 0.8187 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.008115, allocations: 23.95 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.008121, allocations: 4 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.008171, allocations: 148.3 kB / 0.8188 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008171, allocations: 0 / 0.8188 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001909/0.008362, allocations: 12 kB / 0.8189 GB, free: 10.89 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 8.418e-05/0.008446, allocations: 100.1 kB / 0.819 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.008542, allocations: 49.28 kB / 0.819 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008543, allocations: 0 / 0.819 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.008581, allocations: 44.16 kB / 0.819 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.00885, allocations: 11.58 kB / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.009124, allocations: 218 kB / 0.8193 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.009173, allocations: 64.06 kB / 0.8193 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.923e-05/0.009222, allocations: 18.95 kB / 0.8193 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.009286, allocations: 82.19 kB / 0.8194 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.009287, allocations: 0 / 0.8194 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.002914/0.0122, allocations: 1.289 MB / 0.8207 GB, free: 8.977 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3150361222215]