Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001339/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001332/0.001332, allocations: 193 kB / 16.13 MB, free: 6.656 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.537/1.537, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.42 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.367, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002702/0.3697, allocations: 0.9111 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3711, allocations: 0.8819 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.3712, allocations: 4 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.34e-05/0.3713, allocations: 7.922 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3714, allocations: 7.875 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.3716, allocations: 43.95 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3718, allocations: 111.6 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.372, allocations: 13.12 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3721, allocations: 51.83 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3722, allocations: 51.75 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.3723, allocations: 8 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.3723, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3723, allocations: 23.91 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3724, allocations: 51.66 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3726, allocations: 107.8 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3726, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.41e-07/0.3726, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3726, allocations: 7.938 kB / 1.07 GB, free: 8.633 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.0008218/0.3735, allocations: 446.9 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3735, allocations: 8.031 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.3736, allocations: 16.75 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.3741, allocations: 258.9 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3742, allocations: 4.375 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.3742, allocations: 20.36 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.3745, allocations: 116.7 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3745, allocations: 3.938 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3745, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3746, allocations: 4 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.3749, allocations: 75.92 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.3756, allocations: 0.4893 MB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.3759, allocations: 107.8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.376, allocations: 62.59 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.376, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3761, allocations: 38.5 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3761, allocations: 4 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005824/0.3767, allocations: 161.4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.3768, allocations: 106.8 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3769, allocations: 142.3 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3769, allocations: 33.69 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.377, allocations: 104.3 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.377, allocations: 27.67 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.3771, allocations: 33.86 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3773, allocations: 326.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3775, allocations: 43.91 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.3776, allocations: 81.11 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.3779, allocations: 90.52 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3779, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004604/0.3784, allocations: 137.7 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3784, allocations: 19.92 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3784, allocations: 64 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3785, allocations: 4 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3786, allocations: 19.98 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3786, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3788, allocations: 11.98 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3788, allocations: 11.97 kB / 1.073 GB, free: 5.367 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.0001264/0.3789, allocations: 129.8 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.379, allocations: 11.81 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.3793, allocations: 93.83 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3793, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3793, allocations: 3.938 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3793, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.3796, allocations: 201.6 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3796, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3797, allocations: 23.97 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3798, allocations: 0 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3798, allocations: 4 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3798, allocations: 0 / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3798, allocations: 3.938 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.3802, allocations: 381.9 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.3803, allocations: 84.95 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3804, allocations: 8 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3806, allocations: 11.98 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.3807, allocations: 27.89 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3807, allocations: 11.98 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.319e-05/0.3808, allocations: 113.4 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3808, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003036/0.3811, allocations: 19.91 kB / 1.074 GB, free: 4.148 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.0001618/0.3813, allocations: 107.2 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.3816, allocations: 103.9 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3816, allocations: 0 / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3818, allocations: 43.97 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.3823, allocations: 12 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.3828, allocations: 233.4 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3832, allocations: 0.6965 MB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.882e-05/0.3833, allocations: 24.42 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.3833, allocations: 15.44 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3833, allocations: 0 / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of Templates: time 0.003679/0.387, allocations: 1.12 MB / 1.076 GB, free: 1.742 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1)