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.002629/0.002629, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.003169/0.003169, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.888/2.888, allocations: 359 MB / 0.6048 GB, free: 10.94 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.584e-06/2.584e-06, allocations: 0 / 0.7865 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.492e-05, allocations: 8.156 kB / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002333/0.002368, allocations: 0.8684 MB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.004263, allocations: 1.199 MB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.004324, allocations: 0.9375 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.004358, allocations: 7.875 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.004461, allocations: 20.36 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.005001, allocations: 164.2 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.005266, allocations: 161 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.005413, allocations: 29.28 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.005597, allocations: 91.84 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.005742, allocations: 55.84 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.005785, allocations: 18.97 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.005864, allocations: 20 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.005907, allocations: 27.91 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.006, allocations: 51.89 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.006321, allocations: 191.4 kB / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.006327, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.864e-06/0.006329, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.006334, allocations: 4 kB / 0.7893 GB, free: 9.844 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.0009111/0.007246, allocations: 0.5174 MB / 0.7898 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.007284, allocations: 8.031 kB / 0.7898 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.007367, allocations: 21.44 kB / 0.7898 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.007873, allocations: 191.2 kB / 0.79 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.007894, allocations: 8.375 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.007935, allocations: 16.97 kB / 0.79 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.008146, allocations: 79.59 kB / 0.7901 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.008155, allocations: 192 / 0.7901 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.008171, allocations: 4.375 kB / 0.7901 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.008184, allocations: 8.125 kB / 0.7901 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.008313, allocations: 37.78 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.009116, allocations: 375.4 kB / 0.7905 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.009235, allocations: 44.58 kB / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.009305, allocations: 23.61 kB / 0.7906 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.009326, allocations: 4.125 kB / 0.7906 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.009561, allocations: 98.78 kB / 0.7907 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.009562, allocations: 0 / 0.7907 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004128/0.009975, allocations: 133.4 kB / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.01003, allocations: 53.75 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.01025, allocations: 218.5 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.01029, allocations: 29.7 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01042, allocations: 154.9 kB / 0.7912 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.01047, allocations: 31.8 kB / 0.7913 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.01057, allocations: 59.31 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002848/0.01086, allocations: 0.5 MB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.01104, allocations: 86.14 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.01132, allocations: 203.3 kB / 0.7921 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.0117, allocations: 241.5 kB / 0.7923 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0117, allocations: 0.5 kB / 0.7923 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005557/0.01226, allocations: 284 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.01231, allocations: 33.7 kB / 0.7926 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.01232, allocations: 8.781 kB / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.01234, allocations: 4 kB / 0.7926 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01246, allocations: 25.83 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.01248, allocations: 11.92 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.01267, allocations: 31.88 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.01269, allocations: 12 kB / 0.7927 GB, free: 5.988 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.0001639/0.01286, allocations: 177.3 kB / 0.7929 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.01289, allocations: 14.33 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.01293, allocations: 12.78 kB / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01293, allocations: 4 kB / 0.7929 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01293, allocations: 0 / 0.7929 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01294, allocations: 3.984 kB / 0.7929 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.01358, allocations: 403.1 kB / 0.7933 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01358, allocations: 0 / 0.7933 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.01366, allocations: 11.98 kB / 0.7933 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01367, allocations: 0 / 0.7933 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01368, allocations: 0 / 0.7933 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.01368, allocations: 4.5 kB / 0.7933 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01368, allocations: 0 / 0.7933 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.01413, allocations: 285.6 kB / 0.7936 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.01415, allocations: 8.047 kB / 0.7936 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.01417, allocations: 3.984 kB / 0.7936 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.01425, allocations: 12.45 kB / 0.7936 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.01431, allocations: 12.8 kB / 0.7936 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01432, allocations: 7.938 kB / 0.7936 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000119/0.01444, allocations: 157.5 kB / 0.7938 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01444, allocations: 1.094 kB / 0.7938 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002873/0.01473, allocations: 28 kB / 0.7938 GB, free: 4.809 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.0002247/0.01495, allocations: 115.8 kB / 0.7939 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.01542, allocations: 221 kB / 0.7941 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01542, allocations: 0 / 0.7941 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.01554, allocations: 51.59 kB / 0.7942 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.01585, allocations: 15.98 kB / 0.7942 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.01649, allocations: 255.9 kB / 0.7944 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.0166, allocations: 98.75 kB / 0.7945 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.203e-05/0.01666, allocations: 16.08 kB / 0.7945 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.0167, allocations: 17.62 kB / 0.7946 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.0167, allocations: 0 / 0.7946 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of Templates: time 0.005931/0.02263, allocations: 1.758 MB / 0.7963 GB, free: 2.25 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] 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.113857787917368]