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.001515/0.001515, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.002069/0.00207, allocations: 192.8 kB / 17.29 MB, free: 5.516 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.857/1.857, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001471/0.001471, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2299, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002281/0.2322, allocations: 0.8894 MB / 0.7857 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2337, allocations: 1.172 MB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.2337, allocations: 0 / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.2338, allocations: 11.86 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.2339, allocations: 23.73 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.2344, allocations: 146.8 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.2346, allocations: 171.6 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2347, allocations: 37.11 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2348, allocations: 71.75 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.2349, allocations: 63.8 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.235, allocations: 15.94 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.2351, allocations: 31.98 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.2351, allocations: 27.91 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.2352, allocations: 55.78 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.2354, allocations: 175.4 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2355, allocations: 4 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2355, allocations: 0 / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2355, allocations: 4 kB / 0.7876 GB, free: 244 kB / 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.3936/0.6291, allocations: 447.7 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6291, allocations: 8.938 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.6292, allocations: 15.03 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.6297, allocations: 248.7 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.6298, allocations: 11.44 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.6298, allocations: 17.56 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.6301, allocations: 84.94 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6301, allocations: 3.938 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.6301, allocations: 8.125 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.6301, allocations: 2.656 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.6303, allocations: 44.64 kB / 0.7885 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.631, allocations: 395.5 kB / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.6311, allocations: 42.77 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.6312, allocations: 27.36 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.6313, allocations: 3.984 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.6316, allocations: 96.62 kB / 0.789 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/0.6316, allocations: 0 / 0.789 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004156/0.632, allocations: 136.2 kB / 0.7891 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.632, allocations: 63.73 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6321, allocations: 143.1 kB / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.6322, allocations: 28.33 kB / 0.7894 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.6322, allocations: 109 kB / 0.7895 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.6323, allocations: 30.28 kB / 0.7895 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.6324, allocations: 45.38 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.6324, allocations: 326.1 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.6326, allocations: 48.77 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.6328, allocations: 133.4 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.6331, allocations: 198.9 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6331, allocations: 3.969 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004859/0.6336, allocations: 245.8 kB / 0.7904 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.6337, allocations: 39.58 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6337, allocations: 2.625 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.6337, allocations: 5.812 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.6339, allocations: 24.38 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.6339, allocations: 9.375 kB / 0.7905 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.6341, allocations: 45.75 kB / 0.7906 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.6342, allocations: 11.31 kB / 0.7906 GB, free: 47.18 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 0.0001161/0.6343, allocations: 129.5 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.6343, allocations: 9.531 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.6344, allocations: 13.23 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6344, allocations: 4.047 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6344, allocations: 7.531 kB / 0.7907 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6344, allocations: 0 / 0.7907 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.635, allocations: 395 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.635, allocations: 1.812 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.6351, allocations: 15.94 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6351, allocations: 3.938 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6352, allocations: 6.062 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6352, allocations: 0 / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6352, allocations: 3.188 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.6356, allocations: 243.8 kB / 0.7914 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.6357, allocations: 91.61 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.6357, allocations: 7.312 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.6358, allocations: 11.06 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.6359, allocations: 7.547 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.6359, allocations: 10.12 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.295e-05/0.636, allocations: 107.9 kB / 0.7916 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.636, allocations: 0 / 0.7916 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003392/0.6363, allocations: 30.72 kB / 0.7916 GB, free: 46.45 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.0002381/0.6366, allocations: 113.3 kB / 0.7917 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.637, allocations: 182.7 kB / 0.7919 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6371, allocations: 0 / 0.7919 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.6372, allocations: 39.28 kB / 0.7919 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.6375, allocations: 20.89 kB / 0.792 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.6381, allocations: 261 kB / 0.7922 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.6383, allocations: 0.7083 MB / 0.7929 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.288e-05/0.6384, allocations: 16.94 kB / 0.7929 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.6384, allocations: 16.62 kB / 0.7929 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6384, allocations: 0 / 0.7929 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.005083/0.6435, allocations: 1.654 MB / 0.7946 GB, free: 45.36 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)