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.001196/0.001196, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001303/0.001303, allocations: 165 kB / 23.82 MB, free: 0.7383 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.043/1.043, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.86/1.86, allocations: 359 MB / 0.6052 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.823e-06/1.823e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.33e-05, allocations: 2.938 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00323/0.003253, allocations: 1.84 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000918/0.004171, allocations: 0.5625 MB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.922e-05/0.00426, allocations: 13.22 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.004393, allocations: 15.8 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.004456, allocations: 37 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.004649, allocations: 63.86 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.004827, allocations: 171.5 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004957, allocations: 46.7 kB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.005057, allocations: 83.73 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.005119, allocations: 31.89 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.005145, allocations: 13.41 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.005161, allocations: 8 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.005195, allocations: 39.83 kB / 0.7899 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.005243, allocations: 39.84 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.005395, allocations: 97.17 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005398, allocations: 0 / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.005399, allocations: 0 / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.005404, allocations: 0 / 0.7901 GB, free: 9.41 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.0005613/0.005966, allocations: 0.5164 MB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.006002, allocations: 8.031 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.006055, allocations: 32.73 kB / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006254, allocations: 178.9 kB / 0.7908 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.00627, allocations: 12.36 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.006303, allocations: 12.38 kB / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.006494, allocations: 157.3 kB / 0.791 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006502, allocations: 0.875 kB / 0.791 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.006515, allocations: 4.375 kB / 0.791 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.006524, allocations: 5.594 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.006586, allocations: 31.92 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.007258, allocations: 0.8989 MB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.359e-05/0.007322, allocations: 31.06 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.007354, allocations: 24.83 kB / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.007374, allocations: 0 / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.007541, allocations: 119.7 kB / 0.792 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.007542, allocations: 1.375 kB / 0.792 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002211/0.007763, allocations: 117.4 kB / 0.7922 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.00782, allocations: 138.1 kB / 0.7923 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.007954, allocations: 243.3 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.007967, allocations: 25.7 kB / 0.7925 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.008043, allocations: 186.8 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.008068, allocations: 36.2 kB / 0.7928 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.008116, allocations: 47.36 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.008233, allocations: 0.5011 MB / 0.7933 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.008268, allocations: 12 kB / 0.7933 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-05/0.008366, allocations: 170.2 kB / 0.7935 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.008508, allocations: 206.3 kB / 0.7937 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.008512, allocations: 4.531 kB / 0.7937 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001755/0.008688, allocations: 168.9 kB / 0.7938 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.008704, allocations: 8.625 kB / 0.7938 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.00871, allocations: 4 kB / 0.7938 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.008732, allocations: 5.344 kB / 0.7938 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.008814, allocations: 31.92 kB / 0.7939 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.008826, allocations: 15.92 kB / 0.7939 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.008888, allocations: 20.45 kB / 0.7939 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.008898, allocations: 8.625 kB / 0.7939 GB, free: 5.059 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.551e-05/0.008983, allocations: 176.8 kB / 0.7941 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.009009, allocations: 31.83 kB / 0.7941 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.009042, allocations: 13.47 kB / 0.7941 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009044, allocations: 240 / 0.7941 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.009049, allocations: 4 kB / 0.7941 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009054, allocations: 4.859 kB / 0.7941 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.009475, allocations: 0.5081 MB / 0.7946 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.009477, allocations: 3.469 kB / 0.7946 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.009532, allocations: 23.92 kB / 0.7947 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009534, allocations: 0 / 0.7947 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.009549, allocations: 4 kB / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009552, allocations: 0 / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009553, allocations: 3.938 kB / 0.7947 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.009784, allocations: 406.5 kB / 0.7951 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.009801, allocations: 15.91 kB / 0.7951 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.009817, allocations: 4.594 kB / 0.7951 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.009894, allocations: 16.58 kB / 0.7951 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.009941, allocations: 11.98 kB / 0.7951 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.009949, allocations: 9.297 kB / 0.7951 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.01002, allocations: 165.4 kB / 0.7953 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01002, allocations: 0 / 0.7953 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002171/0.01024, allocations: 28.88 kB / 0.7953 GB, free: 3.582 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 0.0001978/0.01044, allocations: 112.5 kB / 0.7954 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.0106, allocations: 84.78 kB / 0.7955 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.0106, allocations: 2.719 kB / 0.7955 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.01065, allocations: 35.61 kB / 0.7955 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.01101, allocations: 70.05 kB / 0.7956 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.01149, allocations: 340.1 kB / 0.7959 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.085e-05/0.01154, allocations: 71.98 kB / 0.796 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.533e-05/0.01159, allocations: 21.75 kB / 0.796 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.01163, allocations: 17.44 kB / 0.796 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of SimCode: time 8.71e-07/0.01163, allocations: 0 / 0.796 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.004114/0.01574, allocations: 2.142 MB / 0.7981 GB, free: 0.6836 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: 5.251458181999624]