Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00201/0.00201, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00277/0.00277, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.867/2.867, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7865 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.809e-05/4.015e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002253/0.002293, allocations: 0.8611 MB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.004381, allocations: 1.203 MB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.004458, allocations: 0.8438 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.0045, allocations: 7.875 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.004611, allocations: 28.47 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.005198, allocations: 148.4 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.005471, allocations: 164.8 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.005613, allocations: 33.27 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.00582, allocations: 91.86 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.00596, allocations: 51.86 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.00601, allocations: 21.55 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.006091, allocations: 23.98 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.006128, allocations: 19.92 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.006222, allocations: 55.89 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.006533, allocations: 184.5 kB / 0.7893 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006536, allocations: 0 / 0.7893 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.19e-06/0.006541, allocations: 7.922 kB / 0.7893 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.00655, allocations: 0.625 kB / 0.7893 GB, free: 9.812 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008661/0.007417, allocations: 411.5 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.007466, allocations: 8.031 kB / 0.7897 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.007572, allocations: 24.84 kB / 0.7897 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.008207, allocations: 199.8 kB / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.00823, allocations: 8.375 kB / 0.7899 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.008279, allocations: 17.59 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.00855, allocations: 86.2 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.008558, allocations: 192 / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.008576, allocations: 5.969 kB / 0.79 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.008584, allocations: 4.125 kB / 0.79 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.008789, allocations: 49.36 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.009591, allocations: 308.2 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.009728, allocations: 33.39 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.009838, allocations: 24.97 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.009868, allocations: 4 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.01018, allocations: 99.25 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.01018, allocations: 0 / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005001/0.01068, allocations: 143.9 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.01073, allocations: 51.41 kB / 0.7907 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.01091, allocations: 143.7 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.01095, allocations: 30.86 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01108, allocations: 116.1 kB / 0.791 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.01112, allocations: 27.8 kB / 0.791 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.01124, allocations: 54.86 kB / 0.791 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.01144, allocations: 322.8 kB / 0.7914 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.01165, allocations: 73.67 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.01193, allocations: 173.6 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.01232, allocations: 197.8 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01232, allocations: 0 / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006309/0.01296, allocations: 286.7 kB / 0.792 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.013, allocations: 35.48 kB / 0.7921 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.01301, allocations: 5.312 kB / 0.7921 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.01303, allocations: 4 kB / 0.7921 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.01315, allocations: 31.86 kB / 0.7921 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.01316, allocations: 4.531 kB / 0.7921 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.01345, allocations: 49.22 kB / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.01347, allocations: 8 kB / 0.7922 GB, free: 6.559 MB / 0.7448 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.0001394/0.01361, allocations: 134.5 kB / 0.7923 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.01364, allocations: 12.89 kB / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.01369, allocations: 12.78 kB / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01369, allocations: 1.344 kB / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.0137, allocations: 0 / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.0137, allocations: 3.984 kB / 0.7923 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.01433, allocations: 346.8 kB / 0.7927 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.01433, allocations: 5.922 kB / 0.7927 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.827e-05/0.01443, allocations: 15.92 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.01443, allocations: 0 / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01445, allocations: 4 kB / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01445, allocations: 0 / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01445, allocations: 0.7812 kB / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.01497, allocations: 250.7 kB / 0.7929 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.01498, allocations: 7.953 kB / 0.7929 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.015, allocations: 0 / 0.7929 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.0151, allocations: 8.031 kB / 0.7929 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.01515, allocations: 11.98 kB / 0.793 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01517, allocations: 7.938 kB / 0.793 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.582e-05/0.01526, allocations: 112.8 kB / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01526, allocations: 0 / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003213/0.01558, allocations: 28.62 kB / 0.7931 GB, free: 5.566 MB / 0.7448 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.0001942/0.01578, allocations: 109.2 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.01623, allocations: 199.6 kB / 0.7934 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01624, allocations: 0 / 0.7934 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01637, allocations: 40.44 kB / 0.7934 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.0167, allocations: 21.33 kB / 0.7935 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.01733, allocations: 245.5 kB / 0.7937 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.01744, allocations: 104.3 kB / 0.7938 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.779e-05/0.01752, allocations: 11.47 kB / 0.7938 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.01757, allocations: 16.5 kB / 0.7938 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of SimCode: time 9.01e-07/0.01757, allocations: 4.875 kB / 0.7938 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.005979/0.02355, allocations: 1.752 MB / 0.7955 GB, free: 3.059 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.131627438007854]