Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001113/0.001113, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002675, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001025/0.001025, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002331, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09266/1.113, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.342/2.342, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2332/2.575, allocations: 146 MB / 0.8176 GB, free: 3.777 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.265e-05, allocations: 4.422 kB / 0.8189 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002016/0.002029, allocations: 1.888 MB / 0.8208 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.002825, allocations: 0.5803 MB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.002904, allocations: 3.938 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.88e-05/0.002983, allocations: 31.67 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.003038, allocations: 27.72 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.003157, allocations: 71.8 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.003335, allocations: 175.4 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.003426, allocations: 34.42 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.003537, allocations: 99.78 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.003596, allocations: 35.83 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.003621, allocations: 8 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.003634, allocations: 12 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.003657, allocations: 19.94 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.00369, allocations: 31.88 kB / 0.8219 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003806, allocations: 95.53 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.003815, allocations: 0 / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003816, allocations: 8 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.003829, allocations: 0 / 0.822 GB, free: 15.3 MB / 0.8073 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.0004442/0.004273, allocations: 387.8 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.0043, allocations: 15.97 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.004337, allocations: 24.91 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.004502, allocations: 170.2 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.004515, allocations: 24.22 kB / 0.8226 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.004543, allocations: 16.36 kB / 0.8226 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.004685, allocations: 135.1 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004694, allocations: 192 / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004703, allocations: 8.375 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004709, allocations: 3.938 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.004752, allocations: 31.02 kB / 0.8228 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.005247, allocations: 0.567 MB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.632e-05/0.005293, allocations: 26.56 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.005311, allocations: 12.86 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.005325, allocations: 4 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.005427, allocations: 107 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.005428, allocations: 0 / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001461/0.005574, allocations: 89.53 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.005623, allocations: 132.5 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.005715, allocations: 194.6 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.005727, allocations: 25.7 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.005775, allocations: 123.8 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.005798, allocations: 39.72 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.005837, allocations: 41.64 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.005908, allocations: 330.8 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.005927, allocations: 15.98 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.00612, allocations: 122.3 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.006224, allocations: 166.3 kB / 0.8247 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.006228, allocations: 7.938 kB / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001196/0.006347, allocations: 133.2 kB / 0.8248 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.006358, allocations: 8.438 kB / 0.8248 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.006363, allocations: 8 kB / 0.8248 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.006376, allocations: 8 kB / 0.8248 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.00646, allocations: 35.92 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.006468, allocations: 8 kB / 0.8249 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.006525, allocations: 19.88 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.006534, allocations: 12 kB / 0.8249 GB, free: 11.98 MB / 0.8073 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,intNoReset.trigger_internal,intDef.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 6.02e-05/0.006594, allocations: 128.4 kB / 0.825 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.00661, allocations: 15.98 kB / 0.825 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.006638, allocations: 17.41 kB / 0.8251 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.006641, allocations: 8.234 kB / 0.8251 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.006642, allocations: 0 / 0.8251 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.006649, allocations: 7.969 kB / 0.8251 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.006916, allocations: 345.9 kB / 0.8254 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006918, allocations: 0 / 0.8254 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.006965, allocations: 19.92 kB / 0.8254 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.00698, allocations: 15.89 kB / 0.8254 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.006984, allocations: 4 kB / 0.8254 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.006993, allocations: 0 / 0.8254 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.006996, allocations: 7.969 kB / 0.8255 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.006998, allocations: 4 kB / 0.8255 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.007141, allocations: 280.3 kB / 0.8257 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.007156, allocations: 8.297 kB / 0.8257 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.007225, allocations: 8 kB / 0.8257 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.007256, allocations: 11.97 kB / 0.8257 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.007263, allocations: 12 kB / 0.8258 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.007295, allocations: 44.8 kB / 0.8258 GB, free: 11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007295, allocations: 0 / 0.8258 GB, free: 11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001991/0.007494, allocations: 31.94 kB / 0.8258 GB, free: 10.96 MB / 0.8073 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 6.786e-05/0.007562, allocations: 93.09 kB / 0.8259 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.007661, allocations: 76.58 kB / 0.826 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.007666, allocations: 4 kB / 0.826 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.007708, allocations: 34.34 kB / 0.826 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.008058, allocations: 395.6 kB / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.008563, allocations: 343.2 kB / 0.8267 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.008602, allocations: 71.98 kB / 0.8268 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.008649, allocations: 17.84 kB / 0.8268 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.008732, allocations: 83.34 kB / 0.8269 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.008733, allocations: 0 / 0.8269 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of Templates: time 0.003742/0.01247, allocations: 2.226 MB / 0.8291 GB, free: 7.566 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.11506815534085]