Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.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.0008854/0.0008854, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009342/0.0009342, allocations: 169 kB / 24.28 MB, free: 276 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 1.029/1.029, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.719/1.719, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.989e-05, allocations: 7.156 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002563/0.002593, allocations: 1.841 MB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.003341, allocations: 0.5588 MB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.003429, allocations: 8.719 kB / 0.7895 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.003559, allocations: 23.72 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.003617, allocations: 29.25 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.003804, allocations: 67.84 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.00399, allocations: 177.1 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.004119, allocations: 45.69 kB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.004222, allocations: 71.81 kB / 0.7899 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.004279, allocations: 39.88 kB / 0.7899 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.004305, allocations: 13.53 kB / 0.7899 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.004318, allocations: 11.94 kB / 0.7899 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.004348, allocations: 35.84 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.004391, allocations: 35.84 kB / 0.79 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004529, allocations: 97.23 kB / 0.7901 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004532, allocations: 0 / 0.7901 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004532, allocations: 3.938 kB / 0.7901 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004537, allocations: 0 / 0.7901 GB, free: 9.777 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005441/0.005081, allocations: 0.5181 MB / 0.7906 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.005118, allocations: 8.031 kB / 0.7906 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.005182, allocations: 28.8 kB / 0.7906 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.005393, allocations: 180.2 kB / 0.7908 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.005406, allocations: 8.375 kB / 0.7908 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.005431, allocations: 16.98 kB / 0.7908 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.005621, allocations: 149.3 kB / 0.791 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005629, allocations: 0.7812 kB / 0.791 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.005642, allocations: 9.094 kB / 0.791 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.005653, allocations: 7.938 kB / 0.791 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.005711, allocations: 33.12 kB / 0.791 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.006382, allocations: 0.8904 MB / 0.7919 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.006447, allocations: 40.11 kB / 0.7919 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.006476, allocations: 19.69 kB / 0.7919 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.006494, allocations: 4.828 kB / 0.7919 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.006618, allocations: 115.7 kB / 0.792 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.00662, allocations: 4.625 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002159/0.006836, allocations: 114.6 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.006897, allocations: 136.4 kB / 0.7923 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.007037, allocations: 244 kB / 0.7925 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.007051, allocations: 25.7 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.007135, allocations: 179.8 kB / 0.7927 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.00716, allocations: 39.83 kB / 0.7928 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.007206, allocations: 51.36 kB / 0.7928 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.007325, allocations: 0.495 MB / 0.7933 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.007359, allocations: 19.98 kB / 0.7933 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/0.007452, allocations: 166.7 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.007593, allocations: 202.3 kB / 0.7937 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.007596, allocations: 4 kB / 0.7937 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000175/0.007771, allocations: 173 kB / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.007786, allocations: 9.875 kB / 0.7938 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.007793, allocations: 5.172 kB / 0.7938 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.007808, allocations: 7.984 kB / 0.7939 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.007884, allocations: 32.89 kB / 0.7939 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.007894, allocations: 11.94 kB / 0.7939 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.007962, allocations: 23.88 kB / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.007972, allocations: 8.844 kB / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (21): * Single equations (assignments): 21 * 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.073e-05/0.008052, allocations: 170.8 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.00808, allocations: 27.78 kB / 0.7941 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.008108, allocations: 21.45 kB / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008111, allocations: 0 / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.008115, allocations: 4 kB / 0.7941 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.00812, allocations: 0 / 0.7941 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.008505, allocations: 0.5162 MB / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008507, allocations: 0 / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.008559, allocations: 15.98 kB / 0.7947 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008561, allocations: 0 / 0.7947 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.008577, allocations: 11.94 kB / 0.7947 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008579, allocations: 3.938 kB / 0.7947 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00858, allocations: 0 / 0.7947 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.008798, allocations: 398.3 kB / 0.7951 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.008815, allocations: 15.91 kB / 0.7951 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.00883, allocations: 4.844 kB / 0.7951 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.008901, allocations: 15.98 kB / 0.7951 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.008946, allocations: 7.984 kB / 0.7951 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.008955, allocations: 9.031 kB / 0.7951 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.388e-05/0.009029, allocations: 169.4 kB / 0.7953 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009029, allocations: 1.125 kB / 0.7953 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002021/0.009231, allocations: 28 kB / 0.7953 GB, free: 3.957 MB / 0.7448 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 8.328e-05/0.009314, allocations: 104.3 kB / 0.7954 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.009456, allocations: 90.52 kB / 0.7955 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009458, allocations: 0 / 0.7955 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.994e-05/0.009508, allocations: 35.61 kB / 0.7955 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.009847, allocations: 74.5 kB / 0.7956 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.01029, allocations: 338.8 kB / 0.7959 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.01034, allocations: 68.66 kB / 0.796 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.01039, allocations: 26.69 kB / 0.796 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.01043, allocations: 22.36 kB / 0.796 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01043, allocations: 0 / 0.796 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.004018/0.01445, allocations: 2.138 MB / 0.7981 GB, free: 1.059 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_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.960517648141831]