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.001333/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001773/0.001773, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 68.09 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4006, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002463/0.4031, allocations: 0.9033 MB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.4043, allocations: 0.8858 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.4043, allocations: 3.938 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.967e-05/0.4044, allocations: 3.938 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.985e-05/0.4045, allocations: 15.86 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.4048, allocations: 35.95 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.4049, allocations: 99.7 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.4051, allocations: 33.05 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.4053, allocations: 51.77 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.4054, allocations: 47.77 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.4054, allocations: 8 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.4055, allocations: 4 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.4055, allocations: 27.89 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.4056, allocations: 43.73 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.4058, allocations: 111.8 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4058, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4058, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.4058, allocations: 0 / 1.07 GB, free: 8.59 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.001009/0.4068, allocations: 444.7 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.4069, allocations: 8.031 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.407, allocations: 20.75 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.4077, allocations: 260 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.4078, allocations: 8.375 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4078, allocations: 4.375 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.4081, allocations: 120.1 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4082, allocations: 3.938 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.4082, allocations: 7.984 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4082, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.4086, allocations: 71.88 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/0.4095, allocations: 0.501 MB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.4098, allocations: 119.7 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.41, allocations: 54.59 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.41, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.41, allocations: 34.56 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.41, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0006495/0.4107, allocations: 165.3 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.4108, allocations: 111 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.4109, allocations: 148.7 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.411, allocations: 25.7 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4111, allocations: 108.3 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.4111, allocations: 27.67 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.4112, allocations: 25.7 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4114, allocations: 326.8 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4115, allocations: 47.95 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4117, allocations: 77.11 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.412, allocations: 102.5 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.412, allocations: 0 / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003717/0.4124, allocations: 133.4 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4124, allocations: 4 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4125, allocations: 4 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4125, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.4126, allocations: 27.97 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.4127, allocations: 7.938 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4128, allocations: 11.98 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4128, allocations: 7.984 kB / 1.073 GB, free: 5.316 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 0.0002271/0.4131, allocations: 125.8 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.4131, allocations: 15.81 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.4134, allocations: 85.89 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4134, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4135, allocations: 3.938 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4135, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.4138, allocations: 205.6 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4138, allocations: 384 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.4139, allocations: 27.97 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4139, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.414, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.414, allocations: 8 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.414, allocations: 0 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.4145, allocations: 377.8 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.4146, allocations: 92.95 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4146, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.4148, allocations: 23.98 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.4149, allocations: 19.95 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.4149, allocations: 4 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.415, allocations: 115.2 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.415, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003124/0.4154, allocations: 19.91 kB / 1.074 GB, free: 4.098 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.0002534/0.4156, allocations: 107.2 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.416, allocations: 95.86 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.416, allocations: 0 / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.4162, allocations: 59.95 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.4167, allocations: 8 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.4173, allocations: 233.3 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.4177, allocations: 0.7004 MB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.983e-05/0.4178, allocations: 20.42 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.4179, allocations: 15.44 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4179, allocations: 0 / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.003968/0.4219, allocations: 1.119 MB / 1.076 GB, free: 1.688 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)