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.0009755/0.0009755, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001106/0.001106, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.849/1.849, allocations: 359 MB / 0.6063 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.755e-06/2.755e-06, allocations: 3.938 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.3e-05, allocations: 8.922 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001707/0.00174, allocations: 0.877 MB / 0.7892 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003136, allocations: 1.215 MB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.003205, allocations: 0 / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.003249, allocations: 12.31 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.003368, allocations: 28.89 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.004076, allocations: 148.2 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004281, allocations: 171.6 kB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004395, allocations: 21.98 kB / 0.7908 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.00454, allocations: 107.8 kB / 0.7909 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.004638, allocations: 40.78 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.004664, allocations: 12.66 kB / 0.7909 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.004731, allocations: 23.98 kB / 0.791 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.00476, allocations: 24.81 kB / 0.791 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.004809, allocations: 47.89 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.004973, allocations: 121.2 kB / 0.7912 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004976, allocations: 3.938 kB / 0.7912 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004977, allocations: 0 / 0.7912 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004981, allocations: 0 / 0.7912 GB, free: 9.305 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.0005292/0.00551, allocations: 0.512 MB / 0.7917 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005546, allocations: 12.03 kB / 0.7917 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.005594, allocations: 24.88 kB / 0.7917 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.005751, allocations: 162 kB / 0.7918 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.005763, allocations: 4.375 kB / 0.7919 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.005793, allocations: 20.36 kB / 0.7919 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.005914, allocations: 82.91 kB / 0.7919 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.005921, allocations: 4.719 kB / 0.792 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.00593, allocations: 384 / 0.792 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.005935, allocations: 0.9688 kB / 0.792 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.005962, allocations: 21.58 kB / 0.792 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.006397, allocations: 336.1 kB / 0.7923 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.885e-05/0.006446, allocations: 38.98 kB / 0.7923 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.006463, allocations: 12.75 kB / 0.7923 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.006478, allocations: 3.938 kB / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.975e-05/0.006577, allocations: 81.98 kB / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.006579, allocations: 0 / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001686/0.006748, allocations: 98.64 kB / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.006781, allocations: 51.41 kB / 0.7926 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.006874, allocations: 200.1 kB / 0.7928 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.006894, allocations: 33.69 kB / 0.7928 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.00697, allocations: 158.8 kB / 0.7929 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.006991, allocations: 27.78 kB / 0.793 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.007051, allocations: 55.83 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.007175, allocations: 0.4928 MB / 0.7935 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.007231, allocations: 57.69 kB / 0.7936 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.007329, allocations: 186.8 kB / 0.7937 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.007473, allocations: 204.6 kB / 0.7939 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.007477, allocations: 4.719 kB / 0.7939 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002317/0.007708, allocations: 231.7 kB / 0.7942 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.007743, allocations: 43.88 kB / 0.7942 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.00775, allocations: 4.969 kB / 0.7942 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.00776, allocations: 7.938 kB / 0.7942 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.007834, allocations: 23.92 kB / 0.7942 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007839, allocations: 4.5 kB / 0.7942 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.007941, allocations: 36.61 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.007956, allocations: 13 kB / 0.7943 GB, free: 5.754 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.0001026/0.008058, allocations: 176.1 kB / 0.7945 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.008076, allocations: 15.95 kB / 0.7945 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.008101, allocations: 12.77 kB / 0.7945 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.008104, allocations: 4.844 kB / 0.7945 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.008107, allocations: 0 / 0.7945 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.00811, allocations: 2.219 kB / 0.7945 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.008393, allocations: 341.8 kB / 0.7948 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008395, allocations: 0 / 0.7948 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.00844, allocations: 11.98 kB / 0.7948 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008442, allocations: 0 / 0.7948 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.008452, allocations: 4 kB / 0.7948 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.008455, allocations: 6.781 kB / 0.7948 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008456, allocations: 0 / 0.7948 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.008623, allocations: 248.2 kB / 0.7951 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.008636, allocations: 11.91 kB / 0.7951 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.008648, allocations: 0 / 0.7951 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.008687, allocations: 8 kB / 0.7951 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.008717, allocations: 7.984 kB / 0.7951 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.008726, allocations: 5.578 kB / 0.7951 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.008777, allocations: 144.7 kB / 0.7952 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008777, allocations: 0 / 0.7952 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002097/0.008987, allocations: 31.94 kB / 0.7953 GB, free: 4.695 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.0001529/0.00914, allocations: 108.3 kB / 0.7954 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.009333, allocations: 178.6 kB / 0.7955 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.009335, allocations: 1 kB / 0.7955 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.009377, allocations: 35.59 kB / 0.7956 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.00959, allocations: 31.61 kB / 0.7956 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.01001, allocations: 243.2 kB / 0.7958 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.01005, allocations: 68.98 kB / 0.7959 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.01009, allocations: 16.55 kB / 0.7959 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.01019, allocations: 106.1 kB / 0.796 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.01019, allocations: 0 / 0.796 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.004157/0.01434, allocations: 1.933 MB / 0.7979 GB, free: 1.957 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: 5.124369093682617]