Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.435/2.435, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001978/0.001978, allocations: 174.7 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.466/2.466, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009546/0.0009541, allocations: 91.97 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004949, allocations: 13.84 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2261, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002045/0.2282, allocations: 1.399 MB / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006944/0.2289, allocations: 300 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.229, allocations: 3.938 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2291, allocations: 19.8 kB / 0.9012 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.2292, allocations: 15.86 kB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2294, allocations: 43.89 kB / 0.9013 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.2297, allocations: 131.6 kB / 0.9014 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2298, allocations: 45.7 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.2299, allocations: 39.8 kB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.23, allocations: 43.7 kB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.23, allocations: 8 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.23, allocations: 8 kB / 0.9015 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.2301, allocations: 15.92 kB / 0.9015 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.2301, allocations: 45.64 kB / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.2303, allocations: 99.7 kB / 0.9017 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2303, allocations: 0 / 0.9017 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2303, allocations: 0 / 0.9017 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2303, allocations: 0 / 0.9017 GB, free: 63.28 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.0007527/0.2311, allocations: 451 kB / 0.9021 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2311, allocations: 12.03 kB / 0.9021 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.2312, allocations: 16.75 kB / 0.9021 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.2315, allocations: 212.8 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2315, allocations: 4.375 kB / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.2315, allocations: 12.38 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.2319, allocations: 158.3 kB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.232, allocations: 3.938 kB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.232, allocations: 4 kB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.232, allocations: 11.97 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.2324, allocations: 79.89 kB / 0.9026 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2334, allocations: 0.747 MB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.2337, allocations: 58.48 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.234, allocations: 36.84 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.234, allocations: 0 / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.2345, allocations: 134.7 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.806e-06/0.2345, allocations: 0 / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009107/0.2355, allocations: 181.7 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.2355, allocations: 132.5 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.2358, allocations: 190.5 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2359, allocations: 37.69 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.236, allocations: 108 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.236, allocations: 39.7 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.2361, allocations: 4.031 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.2362, allocations: 330.8 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.2365, allocations: 43.91 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.2368, allocations: 125.6 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.2372, allocations: 51.92 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2372, allocations: 4 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006482/0.2378, allocations: 193.5 kB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2379, allocations: 16 kB / 0.9049 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2379, allocations: 4.062 kB / 0.9049 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.2379, allocations: 8 kB / 0.9049 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2381, allocations: 27.92 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.2382, allocations: 7.938 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2384, allocations: 31.83 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.2384, allocations: 8 kB / 0.905 GB, free: 59.52 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 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.2386, allocations: 133.8 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.2386, allocations: 19.75 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.2387, allocations: 17.41 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2387, allocations: 7.984 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2387, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.2387, allocations: 96.8 kB / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.2388, allocations: 4 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.239, allocations: 27.92 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.239, allocations: 7.984 kB / 0.9053 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008458/0.2399, allocations: 490.7 kB / 0.9058 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007427/0.2407, allocations: 0.5863 MB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002168/0.2409, allocations: 52.02 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00012/0.241, allocations: 135.2 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of Backend: time 9.12e-07/0.241, allocations: 0 / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.2421, allocations: 164.2 kB / 0.9067 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009844/0.2431, allocations: 0.8365 MB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.005795/0.2489, allocations: 1.546 MB / 0.909 GB, free: 55.33 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)