Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9472/0.9472, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.81/1.81, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/3.009e-05, allocations: 6.141 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00235/0.00238, allocations: 0.8725 MB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.004136, allocations: 1.222 MB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.004229, allocations: 0.9062 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.004271, allocations: 7.875 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.787e-05/0.004369, allocations: 28.56 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.004862, allocations: 148.1 kB / 0.7899 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.00505, allocations: 164.8 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005165, allocations: 29.3 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.005323, allocations: 103.8 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.005427, allocations: 48.44 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.005453, allocations: 8.688 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.005515, allocations: 24.89 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.005545, allocations: 23.91 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.005592, allocations: 43.89 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.005761, allocations: 124.2 kB / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005765, allocations: 0 / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005766, allocations: 0.8438 kB / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.005769, allocations: 4 kB / 0.7904 GB, free: 9.285 MB / 0.7448 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.000564/0.006333, allocations: 0.514 MB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.006371, allocations: 8.031 kB / 0.7909 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.006418, allocations: 20.33 kB / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.006635, allocations: 170.3 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.00665, allocations: 8.375 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.006679, allocations: 16.38 kB / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.006816, allocations: 78.91 kB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.006823, allocations: 192 / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.006834, allocations: 8.375 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.00684, allocations: 384 / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.006869, allocations: 23.86 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.01047, allocations: 329.3 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.01054, allocations: 34.94 kB / 0.7916 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.01056, allocations: 21.45 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.01059, allocations: 4 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.01073, allocations: 82.14 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.01073, allocations: 0 / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.00023/0.01096, allocations: 89.56 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.011, allocations: 52.19 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.01113, allocations: 203.7 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.01115, allocations: 34.8 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.01124, allocations: 162.8 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.01126, allocations: 31.78 kB / 0.7922 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.01135, allocations: 48.81 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01149, allocations: 0.4923 MB / 0.7928 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.123e-05/0.01158, allocations: 57.67 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.01172, allocations: 183.9 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.01192, allocations: 205.9 kB / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01192, allocations: 0 / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002996/0.01222, allocations: 243.2 kB / 0.7934 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.01226, allocations: 42.25 kB / 0.7935 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01227, allocations: 5.125 kB / 0.7935 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.01229, allocations: 4 kB / 0.7935 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.01239, allocations: 27.98 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.01239, allocations: 8.844 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01252, allocations: 28.5 kB / 0.7935 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.01254, allocations: 15.98 kB / 0.7935 GB, free: 5.734 MB / 0.7448 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.0001028/0.01264, allocations: 174.2 kB / 0.7937 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.01266, allocations: 7.953 kB / 0.7937 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.0127, allocations: 20.7 kB / 0.7937 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.0127, allocations: 1.031 kB / 0.7937 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.0127, allocations: 4 kB / 0.7937 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01271, allocations: 48 / 0.7937 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.01608, allocations: 342.7 kB / 0.7941 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01608, allocations: 4 kB / 0.7941 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.01614, allocations: 10.22 kB / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01614, allocations: 0 / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01615, allocations: 3.984 kB / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01615, allocations: 0 / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.01616, allocations: 4 kB / 0.7941 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.01634, allocations: 249.4 kB / 0.7943 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.01635, allocations: 15.89 kB / 0.7943 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.01637, allocations: 4 kB / 0.7943 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.779e-05/0.01642, allocations: 4 kB / 0.7943 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.01646, allocations: 11.98 kB / 0.7944 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.01646, allocations: 3.984 kB / 0.7944 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.01651, allocations: 139.2 kB / 0.7945 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01651, allocations: 1.531 kB / 0.7945 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002781/0.01679, allocations: 31.94 kB / 0.7945 GB, free: 4.676 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0001497/0.01694, allocations: 111.2 kB / 0.7946 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.01714, allocations: 177.4 kB / 0.7948 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01714, allocations: 0 / 0.7948 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.01718, allocations: 35.61 kB / 0.7948 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01744, allocations: 21.58 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.01787, allocations: 247.6 kB / 0.7951 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.01791, allocations: 68.44 kB / 0.7952 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.01797, allocations: 17.7 kB / 0.7952 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.01808, allocations: 106.2 kB / 0.7953 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.01808, allocations: 0 / 0.7953 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of Templates: time 0.01054/0.02862, allocations: 1.905 MB / 0.7971 GB, free: 1.973 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.912518464028835]