Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 191.9 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 75.88 kB / 1.062 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 160.7 MB / 1.219 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002884/1.013, allocations: 0.8954 MB / 1.219 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002181/1.015, allocations: 1.189 MB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/1.015, allocations: 5.125 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/1.015, allocations: 9 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/1.015, allocations: 26.31 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00065/1.016, allocations: 156.4 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/1.016, allocations: 159.6 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/1.016, allocations: 30.03 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/1.016, allocations: 68.48 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/1.017, allocations: 71.97 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/1.017, allocations: 15.72 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/1.017, allocations: 32.33 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/1.017, allocations: 20.92 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/1.017, allocations: 64.78 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/1.017, allocations: 170.7 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.017, allocations: 0 / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.004e-06/1.017, allocations: 3.938 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.728e-06/1.017, allocations: 5.078 kB / 1.221 GB, free: 1.504 MB / 0.92 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.0009075/1.018, allocations: 489.9 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.018, allocations: 14.03 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/1.018, allocations: 20.41 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/1.019, allocations: 252.9 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/1.019, allocations: 9.844 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/1.019, allocations: 13.75 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/1.019, allocations: 98.7 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.019, allocations: 3.938 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.019, allocations: 1.156 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.019, allocations: 2.25 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/1.019, allocations: 45.67 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/1.02, allocations: 388.9 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/1.02, allocations: 39.25 kB / 1.223 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/1.02, allocations: 23.58 kB / 1.223 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/1.02, allocations: 1.344 kB / 1.223 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/1.021, allocations: 99.06 kB / 1.223 GB, free: 140 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/1.021, allocations: 4 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004447/1.021, allocations: 133.3 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/1.021, allocations: 61.48 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.021, allocations: 138.7 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/1.021, allocations: 27.92 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.022, allocations: 118.8 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/1.022, allocations: 32.3 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.532e-05/1.022, allocations: 44.3 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.022, allocations: 321.9 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/1.022, allocations: 54.33 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/1.022, allocations: 129.4 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/1.023, allocations: 210.8 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.023, allocations: 0 / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005303/1.023, allocations: 246 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/1.023, allocations: 38.36 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.023, allocations: 7.328 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.023, allocations: 4.406 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.023, allocations: 33.11 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.023, allocations: 15.98 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/1.024, allocations: 33.92 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/1.024, allocations: 13.72 kB / 1.224 GB, free: 14.75 MB / 0.9356 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.0001484/1.024, allocations: 140.3 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/1.024, allocations: 13.39 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/1.024, allocations: 10.88 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.024, allocations: 1.125 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.024, allocations: 3.938 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.024, allocations: 5.359 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/1.025, allocations: 389.8 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.025, allocations: 4.938 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/1.025, allocations: 13.58 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.025, allocations: 4.969 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.025, allocations: 1 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/1.025, allocations: 0.9062 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.025, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/1.025, allocations: 246.8 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/1.025, allocations: 87.84 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/1.025, allocations: 2.156 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/1.025, allocations: 11.31 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/1.025, allocations: 15.2 kB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.025, allocations: 3.906 kB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.62e-05/1.025, allocations: 108.5 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.025, allocations: 0 / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000302/1.026, allocations: 40.39 kB / 1.225 GB, free: 13.79 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0002072/1.026, allocations: 110.8 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004135/1.026, allocations: 163.7 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.026, allocations: 5.812 kB / 1.226 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/1.026, allocations: 40.69 kB / 1.226 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/1.027, allocations: 17.45 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/1.027, allocations: 264.7 kB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/1.028, allocations: 0.715 MB / 1.227 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.561e-05/1.028, allocations: 16.8 kB / 1.227 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/1.028, allocations: 19.06 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/1.028, allocations: 3.938 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.005828/1.034, allocations: 1.692 MB / 1.228 GB, free: 11.75 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.47785696387291]