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.001045/0.001045, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001062/0.001062, allocations: 169 kB / 24.27 MB, free: 280 kB / 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.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.918/1.918, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.036e-06/3.036e-06, allocations: 0.9844 kB / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.495e-05, allocations: 6.312 kB / 0.8116 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001733/0.001767, allocations: 0.839 MB / 0.8124 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.002749, allocations: 0.9424 MB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.002804, allocations: 4 kB / 0.8133 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.002836, allocations: 11.81 kB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.002926, allocations: 16.73 kB / 0.8134 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.003153, allocations: 48.59 kB / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.003273, allocations: 115.6 kB / 0.8135 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.003391, allocations: 19.05 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.003581, allocations: 75.8 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.003785, allocations: 47.88 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.003807, allocations: 8 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.306e-05/0.00385, allocations: 13.53 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.003871, allocations: 23.91 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.003906, allocations: 31.91 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.004061, allocations: 99.58 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004063, allocations: 1.75 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004064, allocations: 0 / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004069, allocations: 0 / 0.8138 GB, free: 15.7 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.0004825/0.004551, allocations: 452.8 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.004588, allocations: 8.031 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.004778, allocations: 45.56 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.005034, allocations: 174.5 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.005054, allocations: 8.375 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.005068, allocations: 12.38 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.00525, allocations: 120.5 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005257, allocations: 192 / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.00527, allocations: 4.375 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.005278, allocations: 4.125 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.005343, allocations: 27.92 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.005774, allocations: 0.5639 MB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.005891, allocations: 110.5 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.005936, allocations: 43.58 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.005955, allocations: 3.984 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.005978, allocations: 43.05 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.005979, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002253/0.006205, allocations: 93.95 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.006252, allocations: 110.8 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.00636, allocations: 200.9 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.006382, allocations: 34.48 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.006441, allocations: 147.1 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.006474, allocations: 36.95 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.006515, allocations: 31.38 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.006626, allocations: 0.4923 MB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.006661, allocations: 17.36 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.006743, allocations: 151.2 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.834e-05/0.006811, allocations: 55.05 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.006814, allocations: 0 / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001148/0.006928, allocations: 90.16 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.006943, allocations: 7.75 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006949, allocations: 4 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.00696, allocations: 0 / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.007043, allocations: 25.05 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.007049, allocations: 4 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.007096, allocations: 12.8 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.007104, allocations: 3.984 kB / 0.8169 GB, free: 12.29 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.777e-05/0.007182, allocations: 166.8 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.007229, allocations: 11.89 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.007341, allocations: 69.95 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007344, allocations: 0 / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007348, allocations: 0 / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007352, allocations: 6.781 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.007527, allocations: 144.5 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007528, allocations: 0 / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.007574, allocations: 15.98 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.007577, allocations: 4.312 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.007588, allocations: 15.92 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007589, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.00759, allocations: 1.562 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.007782, allocations: 470.1 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.007796, allocations: 19.88 kB / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.007817, allocations: 4 kB / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.007905, allocations: 8.531 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.007965, allocations: 28.5 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.007971, allocations: 5.344 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.008025, allocations: 150 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008025, allocations: 0 / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002169/0.008241, allocations: 20 kB / 0.818 GB, free: 11.11 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 9.381e-05/0.008335, allocations: 100.3 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.008471, allocations: 64.23 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008473, allocations: 0.6562 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.008518, allocations: 27.39 kB / 0.8181 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.008803, allocations: 28.03 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.009123, allocations: 216.7 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.009173, allocations: 63.34 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.211e-05/0.009225, allocations: 16.23 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.00927, allocations: 24.48 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.009271, allocations: 1.125 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.003259/0.01253, allocations: 1.418 MB / 0.8199 GB, free: 9.129 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.312765672802925]