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.001333/0.001333, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001251/0.001251, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.782/1.782, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001508/0.001508, allocations: 75.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2335, allocations: 114.6 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002235/0.2358, allocations: 0.8931 MB / 0.7849 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2374, allocations: 1.172 MB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.2375, allocations: 0 / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.2375, allocations: 11.86 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.2376, allocations: 15.81 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.2382, allocations: 159 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.2384, allocations: 171.7 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2386, allocations: 37.09 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.2387, allocations: 63.84 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.2388, allocations: 63.78 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.2388, allocations: 16 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.2389, allocations: 31.92 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.2389, allocations: 19.92 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/0.239, allocations: 63.78 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.2393, allocations: 167.7 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2393, allocations: 0 / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2393, allocations: 0 / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2393, allocations: 3.938 kB / 0.7868 GB, free: 0.957 MB / 0.6544 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.0007031/0.24, allocations: 460.7 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.24, allocations: 8.031 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.2401, allocations: 16.75 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.2407, allocations: 256.2 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2407, allocations: 4.375 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.2407, allocations: 24.31 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.241, allocations: 86.2 kB / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.241, allocations: 7.875 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.241, allocations: 3.984 kB / 0.7877 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.241, allocations: 4 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4037/0.6448, allocations: 41.84 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.6456, allocations: 385.9 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.6458, allocations: 44.27 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.6459, allocations: 27.72 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.6459, allocations: 0.9375 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.6462, allocations: 97.8 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.6462, allocations: 2.688 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004164/0.6466, allocations: 134.6 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.6467, allocations: 56.5 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.6468, allocations: 136.7 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.6468, allocations: 34.78 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.6469, allocations: 112.2 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.6469, allocations: 29.91 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.647, allocations: 45.92 kB / 0.7888 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.647, allocations: 326.7 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.6472, allocations: 53.25 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.6473, allocations: 135.1 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.6476, allocations: 200.9 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6476, allocations: 1.281 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004198/0.648, allocations: 247.7 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.6481, allocations: 35.97 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6481, allocations: 2.625 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.6481, allocations: 5.25 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.6482, allocations: 27.72 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.6483, allocations: 5.25 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.6485, allocations: 42.77 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.6485, allocations: 18.72 kB / 0.7898 GB, free: 47.49 MB / 0.6544 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 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/0.6486, allocations: 129.6 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.6486, allocations: 11.53 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.6487, allocations: 16.8 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6487, allocations: 4.125 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6487, allocations: 0 / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6487, allocations: 6.516 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.6492, allocations: 392.6 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6492, allocations: 0.5312 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.6493, allocations: 14.23 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.6493, allocations: 0 / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.6493, allocations: 10.5 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.6493, allocations: 0 / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6493, allocations: 1.188 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.6497, allocations: 246.3 kB / 0.7906 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.6497, allocations: 87.95 kB / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.6497, allocations: 7.031 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.6498, allocations: 7.844 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.6499, allocations: 9.938 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.6499, allocations: 2.625 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.65, allocations: 105.3 kB / 0.7908 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.65, allocations: 0 / 0.7908 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002819/0.6502, allocations: 34.31 kB / 0.7909 GB, free: 46.75 MB / 0.6544 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 (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.0001688/0.6504, allocations: 118.4 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.6508, allocations: 186.5 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6508, allocations: 0 / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.6509, allocations: 45.8 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.6512, allocations: 22.86 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.6517, allocations: 279.1 kB / 0.7915 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.6519, allocations: 0.7103 MB / 0.7922 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.6519, allocations: 17.03 kB / 0.7922 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of SimCode: time 1.383e-06/0.6519, allocations: 0 / 0.7922 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.003151/0.6551, allocations: 1.725 MB / 0.7939 GB, free: 45.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (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)