Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000905/0.000905, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008886/0.0008886, allocations: 169 kB / 23.27 MB, free: 1.223 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.9264/0.9264, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.375/2.375, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.605e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002297/0.002333, allocations: 0.6963 MB / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.004139, allocations: 1.24 MB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.004207, allocations: 4 kB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.004241, allocations: 3.938 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.004336, allocations: 11.94 kB / 0.8917 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.005061, allocations: 215.4 kB / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.005298, allocations: 179.7 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.005393, allocations: 12 kB / 0.8921 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.005546, allocations: 103.8 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.005674, allocations: 55.89 kB / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.00571, allocations: 16 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.005784, allocations: 27.94 kB / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.005816, allocations: 19.91 kB / 0.8923 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.005878, allocations: 43.97 kB / 0.8923 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.006078, allocations: 143.6 kB / 0.8924 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.006083, allocations: 0 / 0.8924 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.273e-06/0.006084, allocations: 0 / 0.8924 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.006088, allocations: 0 / 0.8924 GB, free: 6.992 MB / 0.8542 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.0005196/0.006608, allocations: 467.8 kB / 0.8929 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.006652, allocations: 12.92 kB / 0.8929 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.006715, allocations: 16.89 kB / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.006816, allocations: 116.5 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.006847, allocations: 8.359 kB / 0.893 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.006875, allocations: 8.375 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.007, allocations: 58.94 kB / 0.8931 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.007011, allocations: 3.938 kB / 0.8931 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.007022, allocations: 4 kB / 0.8931 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.007028, allocations: 0 / 0.8931 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.007051, allocations: 15.88 kB / 0.8931 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.007595, allocations: 308.4 kB / 0.8934 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.007705, allocations: 39.05 kB / 0.8935 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.007724, allocations: 15.77 kB / 0.8935 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.007735, allocations: 7.938 kB / 0.8935 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.007911, allocations: 92.91 kB / 0.8936 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 3.787e-06/0.007915, allocations: 0 / 0.8936 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002817/0.008197, allocations: 109.5 kB / 0.8937 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.008245, allocations: 51.41 kB / 0.8937 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.008376, allocations: 173.9 kB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.008411, allocations: 41.69 kB / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.008498, allocations: 143.1 kB / 0.8941 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.008523, allocations: 19.84 kB / 0.8941 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.008618, allocations: 59.33 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.00878, allocations: 0.4884 MB / 0.8946 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.0089, allocations: 99.36 kB / 0.8947 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.009052, allocations: 173.5 kB / 0.8949 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.009231, allocations: 185.1 kB / 0.8951 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009234, allocations: 0 / 0.8951 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000408/0.009642, allocations: 324.1 kB / 0.8954 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.009703, allocations: 69.58 kB / 0.8954 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.009712, allocations: 4 kB / 0.8954 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.00973, allocations: 0 / 0.8954 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.009781, allocations: 8 kB / 0.8954 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.009785, allocations: 0 / 0.8954 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.009989, allocations: 52.05 kB / 0.8955 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.01002, allocations: 15.98 kB / 0.8955 GB, free: 3.512 MB / 0.8542 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 0.0001047/0.01012, allocations: 168.5 kB / 0.8957 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.01015, allocations: 15.89 kB / 0.8957 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.01018, allocations: 12.38 kB / 0.8957 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01018, allocations: 0 / 0.8957 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01019, allocations: 7.984 kB / 0.8957 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.01019, allocations: 0 / 0.8957 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.01061, allocations: 322 kB / 0.896 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.01061, allocations: 0 / 0.896 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.01062, allocations: 0 / 0.896 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01063, allocations: 0 / 0.896 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01064, allocations: 7.984 kB / 0.896 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01064, allocations: 0 / 0.896 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01064, allocations: 3.938 kB / 0.896 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.01079, allocations: 240.4 kB / 0.8962 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.01081, allocations: 15.88 kB / 0.8963 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.01083, allocations: 7.984 kB / 0.8963 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.01087, allocations: 0 / 0.8963 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.01091, allocations: 11.98 kB / 0.8963 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01092, allocations: 8 kB / 0.8963 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.01097, allocations: 131.2 kB / 0.8964 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01097, allocations: 4 kB / 0.8964 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002214/0.01119, allocations: 31.94 kB / 0.8964 GB, free: 2.48 MB / 0.8542 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 0.0001722/0.01136, allocations: 107.2 kB / 0.8965 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.01162, allocations: 273.7 kB / 0.8968 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01162, allocations: 320 / 0.8968 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.01166, allocations: 39.7 kB / 0.8968 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.01189, allocations: 15.92 kB / 0.8969 GB, free: 2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.01219, allocations: 170.4 kB / 0.897 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.01223, allocations: 63.34 kB / 0.8971 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.01226, allocations: 8.719 kB / 0.8971 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.01238, allocations: 102.2 kB / 0.8972 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.01238, allocations: 0 / 0.8972 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of Templates: time 0.003893/0.01627, allocations: 2.319 MB / 0.8995 GB, free: 15.34 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.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.233214919921011]