Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009057/0.0009057, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002182, allocations: 449.7 kB / 10.37 MB, free: 328 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.002446/0.002446, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.004415, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.14, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.898/1.898, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5167/2.414, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7294 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.127e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001777/0.001798, allocations: 0.9212 MB / 0.7303 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003016, allocations: 1.23 MB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.003069, allocations: 0 / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.003095, allocations: 7.875 kB / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.003149, allocations: 18 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.003487, allocations: 154.1 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.003683, allocations: 172.8 kB / 0.7318 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.003781, allocations: 29.81 kB / 0.7319 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.003914, allocations: 103.8 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.004004, allocations: 48.36 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.004028, allocations: 16.62 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.246e-05/0.0041, allocations: 27.98 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.004125, allocations: 17.66 kB / 0.7321 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.004169, allocations: 31.94 kB / 0.7321 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004325, allocations: 91.66 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.732e-05/0.004343, allocations: 4 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004344, allocations: 0.9062 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.004361, allocations: 0 / 0.7322 GB, free: 1.633 MB / 0.698 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.000564/0.004925, allocations: 382.4 kB / 0.7326 GB, free: 1.227 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.004954, allocations: 12.62 kB / 0.7326 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.004995, allocations: 22.61 kB / 0.7326 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.005147, allocations: 155.4 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.00516, allocations: 8.375 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.005184, allocations: 12.38 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.005312, allocations: 82.91 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.005319, allocations: 0.875 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.005326, allocations: 1.281 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.005334, allocations: 4.375 kB / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.005362, allocations: 19.86 kB / 0.7329 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.00573, allocations: 221.8 kB / 0.7331 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.005776, allocations: 34.44 kB / 0.7331 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.005794, allocations: 9.578 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.005813, allocations: 0 / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.00592, allocations: 80 kB / 0.7332 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.005921, allocations: 0.9375 kB / 0.7332 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0001378/0.006059, allocations: 73.55 kB / 0.7333 GB, free: 444 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.006093, allocations: 60.27 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.00618, allocations: 146.6 kB / 0.7335 GB, free: 212 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.006198, allocations: 27.14 kB / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.006245, allocations: 116 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.006264, allocations: 31.78 kB / 0.7336 GB, free: 28 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.006325, allocations: 41.78 kB / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.006402, allocations: 327.5 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.006456, allocations: 59.45 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.006534, allocations: 140.8 kB / 0.7342 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.006646, allocations: 167.9 kB / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.006649, allocations: 3.938 kB / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001724/0.006822, allocations: 216 kB / 0.7345 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.006858, allocations: 37.7 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.006864, allocations: 4 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006874, allocations: 5.031 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.00695, allocations: 19.98 kB / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.006958, allocations: 12.48 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.661e-05/0.007044, allocations: 29.7 kB / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.00706, allocations: 15.98 kB / 0.7347 GB, free: 14.84 MB / 0.7136 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 7.488e-05/0.007134, allocations: 131.6 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.007147, allocations: 9.203 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.007176, allocations: 20.72 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007178, allocations: 0 / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.00718, allocations: 0.75 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007183, allocations: 0 / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.007417, allocations: 239.1 kB / 0.735 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007419, allocations: 4.75 kB / 0.735 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.007464, allocations: 15.98 kB / 0.7351 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.007474, allocations: 13.27 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.007477, allocations: 0 / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.007485, allocations: 0 / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007486, allocations: 0 / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.00749, allocations: 12.88 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.007614, allocations: 185.9 kB / 0.7353 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.007626, allocations: 0 / 0.7353 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.007663, allocations: 11.98 kB / 0.7353 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.00769, allocations: 3.984 kB / 0.7353 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.007695, allocations: 4 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.281e-05/0.007718, allocations: 30.72 kB / 0.7353 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007718, allocations: 0 / 0.7353 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001657/0.007884, allocations: 30.38 kB / 0.7353 GB, free: 14.11 MB / 0.7136 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.000131/0.008015, allocations: 88.41 kB / 0.7354 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.008178, allocations: 178.7 kB / 0.7356 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.008183, allocations: 0 / 0.7356 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.154e-05/0.008215, allocations: 32.77 kB / 0.7356 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.008363, allocations: 28.95 kB / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.008901, allocations: 237.9 kB / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.008939, allocations: 73.17 kB / 0.7359 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.008978, allocations: 11.41 kB / 0.736 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.009068, allocations: 81.66 kB / 0.736 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.009069, allocations: 0 / 0.736 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.003697/0.01277, allocations: 1.905 MB / 0.7379 GB, free: 11.54 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.ref.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.1958071840927005]