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.001746/0.001747, allocations: 102.1 kB / 16.29 MB, free: 5.992 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.001933/0.001933, allocations: 179.2 kB / 17.22 MB, free: 5.617 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.613/1.613, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.962/1.962, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.002499/0.0025, allocations: 72.28 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2866, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002522/0.2892, allocations: 0.8854 MB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.291, allocations: 1.18 MB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.2911, allocations: 0 / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.2912, allocations: 7.875 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.2913, allocations: 19.78 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.2919, allocations: 157 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.2921, allocations: 171.6 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2923, allocations: 33.11 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.2924, allocations: 63.83 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.2926, allocations: 71.73 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.2926, allocations: 12 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.395e-05/0.2927, allocations: 39.91 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.2928, allocations: 19.92 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.2929, allocations: 67.7 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2931, allocations: 171.7 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2931, allocations: 0 / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2932, allocations: 0 / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.2932, allocations: 0 / 0.7869 GB, free: 0.9102 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.0008404/0.294, allocations: 452.8 kB / 0.7873 GB, free: 420 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2941, allocations: 8.031 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.2941, allocations: 16.75 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.2947, allocations: 260.1 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.2947, allocations: 4.375 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.2948, allocations: 24.36 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5208/0.8156, allocations: 92.02 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.8156, allocations: 0 / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.8157, allocations: 0.5 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.8157, allocations: 3.312 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.816, allocations: 44.78 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.8168, allocations: 395.9 kB / 0.7882 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.8169, allocations: 44.7 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.817, allocations: 29.73 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.817, allocations: 0 / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.8173, allocations: 95.47 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.8174, allocations: 0 / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003884/0.8177, allocations: 141 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.8178, allocations: 54.12 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.8179, allocations: 140 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8179, allocations: 31.86 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.818, allocations: 110.8 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.818, allocations: 30.5 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.8181, allocations: 47.44 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.8181, allocations: 321.1 kB / 0.7892 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.8183, allocations: 49.38 kB / 0.7892 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.8184, allocations: 128.9 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.8187, allocations: 205.4 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8187, allocations: 0 / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004093/0.8191, allocations: 247.6 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.8192, allocations: 42.08 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8192, allocations: 8.25 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8192, allocations: 2.688 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.8193, allocations: 22.67 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.8193, allocations: 7.531 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.8195, allocations: 41.59 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.8196, allocations: 14.98 kB / 0.7899 GB, free: 47.43 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.906e-05/0.8197, allocations: 127.9 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.8197, allocations: 14.31 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.8197, allocations: 15.47 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8197, allocations: 0 / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8198, allocations: 0.5312 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8198, allocations: 1.281 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.8202, allocations: 403.6 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8203, allocations: 0 / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.8203, allocations: 19 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8204, allocations: 0 / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.8204, allocations: 8.125 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.8204, allocations: 5.531 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8204, allocations: 0 / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.8207, allocations: 243.3 kB / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.8208, allocations: 82.83 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.8208, allocations: 3.375 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.8209, allocations: 12.52 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.8209, allocations: 13.02 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.821, allocations: 2.688 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.821, allocations: 108.2 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.821, allocations: 0 / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002829/0.8213, allocations: 30.25 kB / 0.7909 GB, free: 46.7 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.0001839/0.8215, allocations: 109.5 kB / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.8219, allocations: 184.9 kB / 0.7912 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8219, allocations: 1.594 kB / 0.7912 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.822, allocations: 46.67 kB / 0.7913 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.8223, allocations: 20.34 kB / 0.7913 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.8228, allocations: 266.2 kB / 0.7915 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.823, allocations: 0.7072 MB / 0.7922 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.706e-05/0.823, allocations: 14.73 kB / 0.7922 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.8231, allocations: 18.56 kB / 0.7922 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.8231, allocations: 0 / 0.7922 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.00447/0.8275, allocations: 1.643 MB / 0.7939 GB, free: 45.61 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)