Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009607/0.0009607, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004372/0.005333, 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.00138/0.00138, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.003002, 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.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07967/1.11, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.392/2.392, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2479/2.64, allocations: 146 MB / 0.8176 GB, free: 3.816 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.032e-05, allocations: 8.781 kB / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002447/0.002477, allocations: 0.9208 MB / 0.8199 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.004149, allocations: 1.228 MB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.004223, allocations: 4 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.004263, allocations: 11.86 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.004351, allocations: 19.8 kB / 0.8211 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.00491, allocations: 147.5 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.005196, allocations: 163.6 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.005321, allocations: 25.94 kB / 0.8215 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.005526, allocations: 115.7 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.005654, allocations: 47.88 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.005686, allocations: 12 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-05/0.005782, allocations: 27.98 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.005815, allocations: 15.94 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.005871, allocations: 31.92 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.00607, allocations: 95.61 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.006084, allocations: 0 / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.633e-06/0.006086, allocations: 4 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.006101, allocations: 0 / 0.8218 GB, free: 15.54 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007561/0.006857, allocations: 389.7 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.006906, allocations: 12.02 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.006978, allocations: 16.92 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.007204, allocations: 145.6 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.007228, allocations: 12.31 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.007269, allocations: 16.36 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.007438, allocations: 78.92 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.007447, allocations: 192 / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.007459, allocations: 4.359 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.00747, allocations: 4.375 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.737e-05/0.007507, allocations: 18.61 kB / 0.8225 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.008044, allocations: 236 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.008109, allocations: 26.52 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.008133, allocations: 12.84 kB / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.008161, allocations: 0 / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.008311, allocations: 79.42 kB / 0.8228 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.008313, allocations: 0 / 0.8228 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001823/0.008495, allocations: 81.58 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.008534, allocations: 55.41 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.008656, allocations: 153.2 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.008679, allocations: 25.7 kB / 0.8231 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.008746, allocations: 112.1 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.00877, allocations: 27.8 kB / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.008846, allocations: 41.67 kB / 0.8233 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.008951, allocations: 326.8 kB / 0.8236 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.009026, allocations: 53.69 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.00915, allocations: 158 kB / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.009319, allocations: 168.7 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.009323, allocations: 3.938 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002698/0.009593, allocations: 208.7 kB / 0.8241 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.009649, allocations: 41.69 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.009658, allocations: 4 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.009681, allocations: 4 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.009798, allocations: 28.3 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.009806, allocations: 11.98 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.009945, allocations: 27.91 kB / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.009969, allocations: 12 kB / 0.8243 GB, free: 12.71 MB / 0.8073 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.0001444/0.01011, allocations: 133.6 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.01013, allocations: 4 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.01017, allocations: 20.77 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01017, allocations: 0 / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01017, allocations: 0 / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01018, allocations: 4 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.01047, allocations: 246.6 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01047, allocations: 0 / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.01053, allocations: 15.98 kB / 0.8247 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.01054, allocations: 7.953 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01054, allocations: 0 / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01055, allocations: 0 / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01055, allocations: 7.938 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01055, allocations: 0 / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.01069, allocations: 180.2 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.01071, allocations: 4 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.01075, allocations: 12 kB / 0.8249 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.01078, allocations: 11.92 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.01078, allocations: 3.984 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.01081, allocations: 30.86 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01081, allocations: 0 / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001825/0.01099, allocations: 31.94 kB / 0.8249 GB, free: 11.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.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.0001521/0.01115, allocations: 92.39 kB / 0.825 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01132, allocations: 173.7 kB / 0.8252 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.01133, allocations: 4 kB / 0.8252 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.01137, allocations: 28.78 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.01157, allocations: 143.6 kB / 0.8254 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.0122, allocations: 237.9 kB / 0.8256 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.01226, allocations: 71.84 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.097e-05/0.01232, allocations: 16.64 kB / 0.8257 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.01244, allocations: 75.36 kB / 0.8258 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of SimCode: time 1.693e-06/0.01244, allocations: 0 / 0.8258 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.004583/0.01702, allocations: 1.836 MB / 0.8275 GB, free: 9.238 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.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.285264289937913]