Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0008273/0.0008273, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008618/0.0008618, allocations: 181.9 kB / 23.22 MB, free: 1.344 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 0.8924/0.8924, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.287e-05, allocations: 8.953 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001204/0.001227, allocations: 0.6692 MB / 0.9829 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002427, allocations: 1.221 MB / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.002461, allocations: 4 kB / 0.9841 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.002486, allocations: 7.922 kB / 0.9841 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.002542, allocations: 7.922 kB / 0.9841 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.002987, allocations: 231.5 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.003162, allocations: 179.6 kB / 0.9845 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.961e-05/0.003232, allocations: 11.98 kB / 0.9845 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.00333, allocations: 95.86 kB / 0.9846 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.00342, allocations: 47.91 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.003443, allocations: 16 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.003497, allocations: 31.98 kB / 0.9847 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.003517, allocations: 15.92 kB / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.003568, allocations: 51.95 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.003753, allocations: 195.4 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.003755, allocations: 0 / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.193e-06/0.003756, allocations: 0 / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003759, allocations: 0 / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003818/0.004141, allocations: 365.5 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.004174, allocations: 8.031 kB / 0.9853 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.004217, allocations: 12.89 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.22e-05/0.004289, allocations: 117.7 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.004308, allocations: 8.375 kB / 0.9854 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.004328, allocations: 12.38 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/0.004411, allocations: 50.23 kB / 0.9855 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.004419, allocations: 3.938 kB / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.004426, allocations: 4 kB / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.00443, allocations: 0 / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.00446, allocations: 19.92 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.004817, allocations: 272.5 kB / 0.9857 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.467e-05/0.004882, allocations: 38.5 kB / 0.9858 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.004901, allocations: 12.86 kB / 0.9858 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.004908, allocations: 3.984 kB / 0.9858 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.005029, allocations: 95.34 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.00503, allocations: 4 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0002038/0.005234, allocations: 129.5 kB / 0.986 GB, free: 14.06 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.005264, allocations: 55.41 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.00533, allocations: 125.8 kB / 0.9862 GB, free: 13.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.005354, allocations: 33.7 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.005404, allocations: 96.38 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.005421, allocations: 27.83 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.005484, allocations: 49.69 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.005567, allocations: 315.2 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.005685, allocations: 123.4 kB / 0.9868 GB, free: 13.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.005827, allocations: 181.3 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.005976, allocations: 177.3 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.00598, allocations: 7.875 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003131/0.006293, allocations: 344.2 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.006332, allocations: 71.55 kB / 0.9875 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.006338, allocations: 4 kB / 0.9875 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006349, allocations: 0 / 0.9875 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.006386, allocations: 7.984 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006391, allocations: 4 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.006564, allocations: 55.88 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.006586, allocations: 15.98 kB / 0.9876 GB, free: 12.23 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.881e-05/0.006665, allocations: 135.4 kB / 0.9878 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.006673, allocations: 7.953 kB / 0.9878 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.006694, allocations: 8.438 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.006697, allocations: 4 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.0067, allocations: 0 / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006703, allocations: 0 / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.006922, allocations: 306.1 kB / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006922, allocations: 0 / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-06/0.006929, allocations: 3.984 kB / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.006931, allocations: 0 / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.006937, allocations: 8 kB / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006938, allocations: 0 / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006939, allocations: 0 / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.007057, allocations: 203.3 kB / 0.9883 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.007064, allocations: 7.953 kB / 0.9883 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.007078, allocations: 3.984 kB / 0.9883 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.007114, allocations: 8 kB / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.007138, allocations: 3.984 kB / 0.9883 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.007149, allocations: 4 kB / 0.9883 GB, free: 11.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.007187, allocations: 91.45 kB / 0.9884 GB, free: 11.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007187, allocations: 0 / 0.9884 GB, free: 11.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001823/0.007369, allocations: 47.88 kB / 0.9884 GB, free: 11.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.949e-05/0.007468, allocations: 103.2 kB / 0.9885 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.007726, allocations: 290.1 kB / 0.9888 GB, free: 10.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007727, allocations: 0 / 0.9888 GB, free: 10.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.007767, allocations: 31.94 kB / 0.9888 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.007963, allocations: 21.11 kB / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.008219, allocations: 191 kB / 0.989 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.008267, allocations: 79.27 kB / 0.9891 GB, free: 10.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.008286, allocations: 12.5 kB / 0.9891 GB, free: 10.54 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.008287, allocations: 0 / 0.9891 GB, free: 10.54 MB / 0.948 GB Notification: Performance of Templates: time 0.002087/0.01037, allocations: 1.51 MB / 0.9906 GB, free: 9.043 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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: 6.846141652204096]