Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.002486/0.002486, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002779/0.002779, allocations: 213.8 kB / 23.02 MB, free: 2.949 MB / 13.93 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.812/1.812, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.552/3.552, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003749/0.003749, allocations: 67.89 kB / 1.177 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.025, allocations: 180 MB / 1.353 GB, free: 1.559 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00243/1.028, allocations: 0.8292 MB / 1.354 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001387/1.029, allocations: 0.9172 MB / 1.355 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/1.029, allocations: 4 kB / 1.355 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/1.029, allocations: 15.8 kB / 1.355 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/1.029, allocations: 11.81 kB / 1.355 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/1.03, allocations: 43.88 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/1.03, allocations: 111.7 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/1.03, allocations: 25.05 kB / 1.355 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/1.03, allocations: 59.78 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/1.03, allocations: 47.75 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/1.03, allocations: 12 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/1.03, allocations: 16 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/1.03, allocations: 27.91 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/1.03, allocations: 31.8 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/1.031, allocations: 134.2 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.031, allocations: 3.938 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.044e-06/1.031, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.031, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 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.0007817/1.031, allocations: 369.8 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.031, allocations: 8.922 kB / 1.356 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/1.032, allocations: 36.81 kB / 1.356 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/1.032, allocations: 190.5 kB / 1.356 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/1.032, allocations: 8.375 kB / 1.356 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/1.032, allocations: 4.375 kB / 1.356 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/1.033, allocations: 120.7 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.033, allocations: 3.938 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.033, allocations: 4 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.033, allocations: 4 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/1.033, allocations: 75.91 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/1.034, allocations: 444.6 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/1.034, allocations: 111.8 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/1.034, allocations: 58.61 kB / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/1.034, allocations: 4 kB / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.034, allocations: 34.5 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/1.034, allocations: 4 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0006007/1.035, allocations: 157.7 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/1.035, allocations: 110.8 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/1.035, allocations: 153.4 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/1.035, allocations: 29.7 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/1.035, allocations: 104.4 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/1.035, allocations: 23.8 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/1.035, allocations: 33.64 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.035, allocations: 326.8 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.035, allocations: 35.97 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/1.036, allocations: 170.2 kB / 1.358 GB, free: 12.44 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/1.036, allocations: 90.45 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.036, allocations: 0 / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003801/1.036, allocations: 141.5 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.036, allocations: 8 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.036, allocations: 4 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.036, allocations: 0 / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/1.037, allocations: 15.98 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.037, allocations: 4 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.037, allocations: 19.97 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/1.037, allocations: 4.062 kB / 1.358 GB, free: 12.14 MB / 1.042 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 0.0001226/1.037, allocations: 122.3 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/1.037, allocations: 23.84 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/1.037, allocations: 89.98 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/1.037, allocations: 0 / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.037, allocations: 0 / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.037, allocations: 4 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/1.037, allocations: 145.6 kB / 1.358 GB, free: 11.72 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.037, allocations: 0 / 1.358 GB, free: 11.72 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.038, allocations: 15.98 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.038, allocations: 8 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/1.038, allocations: 4 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.038, allocations: 3.938 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.038, allocations: 4 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/1.038, allocations: 373.9 kB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/1.038, allocations: 7.953 kB / 1.359 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/1.038, allocations: 4 kB / 1.359 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.038, allocations: 15.98 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/1.038, allocations: 31.94 kB / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.038, allocations: 4 kB / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.246e-05/1.039, allocations: 107.2 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/1.039, allocations: 0 / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000313/1.039, allocations: 27.88 kB / 1.359 GB, free: 11.11 MB / 1.042 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 0.0001482/1.039, allocations: 95.25 kB / 1.359 GB, free: 11 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000388/1.039, allocations: 99.86 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.039, allocations: 3.938 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/1.04, allocations: 47.91 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/1.04, allocations: 19.92 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/1.04, allocations: 195.5 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/1.041, allocations: 88.31 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.249e-05/1.041, allocations: 20.42 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/1.041, allocations: 23.42 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of SimCode: time 3.1e-07/1.041, allocations: 0 / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of Templates: time 0.005146/1.046, allocations: 1.481 MB / 1.361 GB, free: 9 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.886448642238975]