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.0008851/0.0008852, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006352/0.006352, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004227, allocations: 13.22 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4113, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001268/0.4126, allocations: 0.5645 MB / 1.075 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.4139, allocations: 0.8819 MB / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.4139, allocations: 0 / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.414, allocations: 7.922 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.4141, allocations: 19.88 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.4143, allocations: 35.95 kB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.4145, allocations: 107.6 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.4146, allocations: 25.12 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.4147, allocations: 43.83 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.4149, allocations: 47.77 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.4149, allocations: 4 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/0.4149, allocations: 4 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.415, allocations: 23.89 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.4151, allocations: 69.38 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.4152, allocations: 107.8 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4152, allocations: 0 / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4152, allocations: 0 / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4153, allocations: 0 / 1.076 GB, free: 5.637 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.0007807/0.416, allocations: 443.1 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4161, allocations: 12.03 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.4162, allocations: 16.73 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.4167, allocations: 280 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.4167, allocations: 4.375 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.4168, allocations: 8.375 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.4171, allocations: 124.8 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4171, allocations: 7.875 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4171, allocations: 0 / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.4171, allocations: 4 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.4174, allocations: 87.94 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.4182, allocations: 0.5009 MB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.4185, allocations: 123.8 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.4187, allocations: 58.59 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.4187, allocations: 4 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.4187, allocations: 46.44 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4188, allocations: 0 / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0006397/0.4194, allocations: 181.4 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.4195, allocations: 106.8 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4196, allocations: 145.4 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.4197, allocations: 37.7 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.4197, allocations: 108.2 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.4198, allocations: 23.73 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.4198, allocations: 17.72 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.42, allocations: 322.8 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4201, allocations: 59.89 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.4203, allocations: 93.05 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.4207, allocations: 106.5 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4207, allocations: 0 / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004058/0.4211, allocations: 157.7 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4211, allocations: 4 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4212, allocations: 3.984 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4212, allocations: 8 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.4213, allocations: 27.91 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4213, allocations: 0 / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.4215, allocations: 19.98 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4215, allocations: 8.062 kB / 1.079 GB, free: 2.234 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.0001168/0.4216, allocations: 125.8 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.4217, allocations: 15.8 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.422, allocations: 101.8 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.422, allocations: 0 / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4221, allocations: 4 kB / 1.079 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4221, allocations: 4 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.4224, allocations: 197.6 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4224, allocations: 0 / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.4225, allocations: 19.98 kB / 1.08 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4225, allocations: 3.984 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4225, allocations: 4 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4225, allocations: 0 / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4226, allocations: 0 / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.423, allocations: 393.9 kB / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.4231, allocations: 92.94 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4231, allocations: 8 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.4234, allocations: 15.98 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.4235, allocations: 27.95 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.4235, allocations: 4 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.351e-05/0.4236, allocations: 113.2 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4236, allocations: 7.875 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003114/0.4239, allocations: 23.91 kB / 1.08 GB, free: 0.9883 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.0001961/0.4241, allocations: 103.2 kB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.4245, allocations: 111.9 kB / 1.08 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4245, allocations: 0 / 1.08 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.4247, allocations: 63.95 kB / 1.08 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.4252, allocations: 17.62 kB / 1.08 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.4257, allocations: 233.3 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.426, allocations: 0.6965 MB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.763e-05/0.4261, allocations: 20.42 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.4262, allocations: 19.42 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4262, allocations: 4 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.004007/0.4302, allocations: 1.112 MB / 1.082 GB, free: 14.55 MB / 0.8419 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)