Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 179.2 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008387/0.0008386, allocations: 88.86 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 18.23 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1977, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001693/0.1994, allocations: 1.45 MB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005494/0.2, allocations: 300.7 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.2001, allocations: 0 / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2003, allocations: 23.78 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.2003, allocations: 15.86 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.2005, allocations: 47.95 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.2007, allocations: 139.5 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2008, allocations: 49.73 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.2009, allocations: 43.78 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.2009, allocations: 43.72 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.201, allocations: 8 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.201, allocations: 4 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.201, allocations: 19.86 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.2011, allocations: 51.66 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.793e-05/0.2012, allocations: 95.72 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2012, allocations: 3.938 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2012, allocations: 0 / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2012, allocations: 0 / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005344/0.2017, allocations: 458.7 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2018, allocations: 12.03 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.2018, allocations: 16.75 kB / 0.8995 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.202, allocations: 212.7 kB / 0.8997 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.202, allocations: 8.375 kB / 0.8997 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2021, allocations: 12.38 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.2023, allocations: 154.4 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2024, allocations: 192 / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2024, allocations: 11.94 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2024, allocations: 3.984 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.2026, allocations: 87.89 kB / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00073/0.2033, allocations: 0.7392 MB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.2035, allocations: 62.48 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.2036, allocations: 32.84 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2036, allocations: 7.984 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.2039, allocations: 126.7 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.2039, allocations: 0 / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004303/0.2043, allocations: 185.6 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.2044, allocations: 132.5 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2045, allocations: 198.2 kB / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2046, allocations: 29.7 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.2046, allocations: 120.2 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.2046, allocations: 31.55 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2047, allocations: 29.78 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.2047, allocations: 330.8 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2049, allocations: 39.97 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.205, allocations: 128 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.2052, allocations: 187.7 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2052, allocations: 0 / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003108/0.2056, allocations: 201.3 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2056, allocations: 18.84 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2056, allocations: 64 / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2056, allocations: 8 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2057, allocations: 35.91 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2057, allocations: 4 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2059, allocations: 31.83 kB / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.2059, allocations: 8 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.146e-05/0.206, allocations: 129.8 kB / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.206, allocations: 15.84 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.206, allocations: 25.33 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2061, allocations: 4 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2061, allocations: 0 / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2061, allocations: 0 / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.2067, allocations: 0.5329 MB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2067, allocations: 0 / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2068, allocations: 27.97 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2069, allocations: 3.984 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2069, allocations: 8 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2069, allocations: 0 / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2069, allocations: 0 / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.2073, allocations: 382.4 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2073, allocations: 89.05 kB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2074, allocations: 8 kB / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.2075, allocations: 19.98 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.2076, allocations: 7.984 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.2076, allocations: 8 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.367e-05/0.2077, allocations: 140.2 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2077, allocations: 0 / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002933/0.208, allocations: 27.91 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.000117/0.2081, allocations: 115.2 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.2084, allocations: 120.5 kB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2084, allocations: 0 / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2086, allocations: 55.91 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.209, allocations: 47.34 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.2097, allocations: 416.1 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2098, allocations: 0.7204 MB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.2098, allocations: 19.42 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2099, allocations: 0 / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.002798/0.2127, allocations: 1.815 MB / 0.9071 GB, free: 56.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)