Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0009922/0.0009921, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004811, allocations: 21.41 kB / 0.6736 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2312, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001177/0.2325, allocations: 0.5893 MB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.2338, allocations: 1.133 MB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.2339, allocations: 3.938 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.2339, allocations: 7.922 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.234, allocations: 11.98 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.2345, allocations: 138.6 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2346, allocations: 83.89 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2347, allocations: 29.05 kB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.2348, allocations: 51.89 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.2349, allocations: 55.73 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2349, allocations: 8 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.235, allocations: 19.98 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.235, allocations: 15.92 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.2351, allocations: 49.64 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2352, allocations: 112 kB / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2352, allocations: 3.938 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2352, allocations: 0 / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2353, allocations: 0 / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005657/0.2358, allocations: 439.4 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2359, allocations: 12.03 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.2359, allocations: 11.91 kB / 0.7898 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.2365, allocations: 262.7 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2365, allocations: 4 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.2365, allocations: 20 kB / 0.7901 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.2368, allocations: 93.58 kB / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2368, allocations: 3.984 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2368, allocations: 3.984 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2368, allocations: 0 / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.237, allocations: 59.95 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.2377, allocations: 392.4 kB / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.2378, allocations: 42.56 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2379, allocations: 3.938 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.2381, allocations: 103.4 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.2381, allocations: 0 / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004056/0.2385, allocations: 145.5 kB / 0.7909 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.2386, allocations: 55.41 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2387, allocations: 141.7 kB / 0.7911 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2387, allocations: 29.7 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.2388, allocations: 116.1 kB / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2388, allocations: 27.61 kB / 0.7913 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.2388, allocations: 8 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2389, allocations: 318.8 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2391, allocations: 51.97 kB / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.2393, allocations: 138.3 kB / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2395, allocations: 93.61 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2395, allocations: 4 kB / 0.7918 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004689/0.24, allocations: 247.3 kB / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.24, allocations: 45.58 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.24, allocations: 4 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.24, allocations: 4 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.2401, allocations: 23.98 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2402, allocations: 11.92 kB / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.2404, allocations: 55.81 kB / 0.7922 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2404, allocations: 12 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/0.2405, allocations: 125.8 kB / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.2406, allocations: 11.86 kB / 0.7924 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.2406, allocations: 12.72 kB / 0.7924 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2406, allocations: 0 / 0.7924 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2406, allocations: 4 kB / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2406, allocations: 3.984 kB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.2412, allocations: 414.2 kB / 0.7928 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2412, allocations: 4 kB / 0.7928 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.2413, allocations: 23.98 kB / 0.7928 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2413, allocations: 0 / 0.7928 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2413, allocations: 4 kB / 0.7928 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2413, allocations: 0 / 0.7928 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2413, allocations: 0 / 0.7928 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2417, allocations: 259.2 kB / 0.7931 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.2418, allocations: 81.02 kB / 0.7931 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.2418, allocations: 8 kB / 0.7931 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.2419, allocations: 8.031 kB / 0.7931 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.2419, allocations: 7.984 kB / 0.7932 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2419, allocations: 8 kB / 0.7932 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.952e-05/0.242, allocations: 114 kB / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.242, allocations: 0 / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002687/0.2423, allocations: 28.09 kB / 0.7933 GB, free: 5.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.2425, allocations: 121.6 kB / 0.7934 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.2428, allocations: 191.2 kB / 0.7936 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2429, allocations: 0 / 0.7936 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.243, allocations: 39.92 kB / 0.7936 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2432, allocations: 24.86 kB / 0.7937 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.2436, allocations: 297.8 kB / 0.7939 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.2439, allocations: 0.7126 MB / 0.7946 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.313e-05/0.244, allocations: 20.62 kB / 0.7947 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.244, allocations: 11.44 kB / 0.7947 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.244, allocations: 0 / 0.7947 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.003559/0.2476, allocations: 1.469 MB / 0.7961 GB, free: 2.332 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1) Environment - environmentSimulation: