Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 68.56 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4052, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002466/0.4077, allocations: 0.8389 MB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.4088, allocations: 0.8878 MB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.4089, allocations: 7.938 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.409, allocations: 11.81 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.4091, allocations: 15.81 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.4093, allocations: 43.92 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.4094, allocations: 111.6 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.4096, allocations: 29.09 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.4098, allocations: 51.83 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4099, allocations: 55.77 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.4099, allocations: 11.98 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.4099, allocations: 12 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.41, allocations: 19.91 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.41, allocations: 51.67 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.4102, allocations: 115.8 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4102, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4102, allocations: 4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4103, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 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.0007724/0.411, allocations: 446.9 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4111, allocations: 12.03 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.4111, allocations: 16.69 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.4117, allocations: 256.1 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.4117, allocations: 8.359 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4117, allocations: 8.375 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.412, allocations: 119.5 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.412, allocations: 3.938 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.4121, allocations: 4 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.4121, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.4124, allocations: 75.92 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.413, allocations: 0.4893 MB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.4132, allocations: 115.8 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4134, allocations: 50.55 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.4134, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4135, allocations: 50.48 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.4135, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005925/0.4141, allocations: 153.3 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.4141, allocations: 106.8 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4143, allocations: 153.1 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.4143, allocations: 33.7 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.4144, allocations: 108.3 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.4144, allocations: 27.64 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.4145, allocations: 25.72 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4146, allocations: 326.8 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4148, allocations: 47.89 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.4149, allocations: 89 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.4152, allocations: 86.5 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4152, allocations: 4 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003502/0.4156, allocations: 145.6 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4156, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4156, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4156, allocations: 4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4158, allocations: 23.91 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4158, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.4159, allocations: 16.05 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4159, allocations: 4 kB / 1.073 GB, free: 4.848 MB / 0.8262 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 9.77e-05/0.416, allocations: 125.8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.4161, allocations: 11.81 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.4164, allocations: 97.83 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.4164, allocations: 4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4164, allocations: 0 / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4164, allocations: 3.984 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.4167, allocations: 201.6 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4167, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.4168, allocations: 15.98 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4168, allocations: 4 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4169, allocations: 3.984 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4169, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4169, allocations: 8 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.4173, allocations: 365.8 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4173, allocations: 88.95 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.4174, allocations: 11.98 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.4176, allocations: 11.98 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.4177, allocations: 23.97 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.4177, allocations: 3.984 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.4178, allocations: 118 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4178, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003188/0.4181, allocations: 23.91 kB / 1.074 GB, free: 3.641 MB / 0.8262 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.000165/0.4183, allocations: 115.7 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.4186, allocations: 95.86 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4186, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.4188, allocations: 51.91 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.4193, allocations: 17.67 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.4197, allocations: 203.5 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.42, allocations: 0.7002 MB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.134e-05/0.4201, allocations: 24.36 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.4201, allocations: 23.42 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4201, allocations: 0 / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of Templates: time 0.003762/0.4239, allocations: 1.351 MB / 1.077 GB, free: 1.008 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1)