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.001917/0.001917, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002047/0.002047, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.657/1.657, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.498/3.498, allocations: 429.4 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.786e-06/2.786e-06, allocations: 0 / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.668e-05, allocations: 4.984 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001983/0.00202, allocations: 0.6823 MB / 0.8781 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.003919, allocations: 1.23 MB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.00396, allocations: 0 / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.003987, allocations: 5.5 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.004065, allocations: 13.14 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.004719, allocations: 212.7 kB / 0.8795 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.004998, allocations: 179.6 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.005089, allocations: 13.09 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.005264, allocations: 103.8 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.00541, allocations: 56.5 kB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.005455, allocations: 16 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.005537, allocations: 25.98 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.005566, allocations: 11.98 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.005666, allocations: 59.88 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.005963, allocations: 183.5 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005967, allocations: 4 kB / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005968, allocations: 0 / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.005974, allocations: 3.438 kB / 0.8802 GB, free: 3.883 MB / 0.8386 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.0006861/0.00666, allocations: 471.4 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.006696, allocations: 8.031 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.006772, allocations: 12.89 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.006898, allocations: 112.6 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.006931, allocations: 12.36 kB / 0.8808 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.006967, allocations: 12.38 kB / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.0071, allocations: 46.25 kB / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.007117, allocations: 7.922 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.007126, allocations: 0.9375 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.00713, allocations: 0 / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/0.007173, allocations: 17.03 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.007751, allocations: 335.6 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.00787, allocations: 43 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.007915, allocations: 24.83 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.007924, allocations: 0 / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.008113, allocations: 98.08 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 3.427e-06/0.008116, allocations: 3.984 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003392/0.008456, allocations: 141.5 kB / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.008508, allocations: 56.34 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.008674, allocations: 193.8 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.008713, allocations: 30.3 kB / 0.8817 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.008827, allocations: 143.1 kB / 0.8819 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.008852, allocations: 24.42 kB / 0.8819 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.008979, allocations: 60.25 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003979/0.009377, allocations: 0.4923 MB / 0.8824 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.009594, allocations: 139.4 kB / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.00986, allocations: 205.9 kB / 0.8828 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.01016, allocations: 215.1 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.01017, allocations: 7.938 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006433/0.01081, allocations: 382.8 kB / 0.8833 GB, free: 324 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.0109, allocations: 67.39 kB / 0.8834 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01091, allocations: 0 / 0.8834 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.01092, allocations: 4 kB / 0.8834 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.011, allocations: 8.953 kB / 0.8834 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.01101, allocations: 4 kB / 0.8834 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.01128, allocations: 44.61 kB / 0.8835 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.01132, allocations: 20.45 kB / 0.8835 GB, free: 164 kB / 0.8386 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.0001771/0.0115, allocations: 176 kB / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.01152, allocations: 7.953 kB / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.01155, allocations: 12.38 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.01156, allocations: 4 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01157, allocations: 0 / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01157, allocations: 0 / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.01201, allocations: 365.3 kB / 0.884 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01201, allocations: 0 / 0.884 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-06/0.01202, allocations: 0.5938 kB / 0.884 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01202, allocations: 160 / 0.884 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01203, allocations: 8 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01203, allocations: 3.938 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01203, allocations: 0 / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01231, allocations: 263.7 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.01232, allocations: 7.953 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.01235, allocations: 4 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.0124, allocations: 4 kB / 0.8843 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.01245, allocations: 11.92 kB / 0.8843 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.01246, allocations: 7.984 kB / 0.8843 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.14e-05/0.01256, allocations: 131.2 kB / 0.8844 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01256, allocations: 0 / 0.8844 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002888/0.01284, allocations: 39.98 kB / 0.8845 GB, free: 15.07 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.0002068/0.01305, allocations: 107.2 kB / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.01357, allocations: 349.7 kB / 0.8849 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01357, allocations: 0 / 0.8849 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.01364, allocations: 35.67 kB / 0.8849 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.01399, allocations: 28.23 kB / 0.885 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.0144, allocations: 170.5 kB / 0.8851 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.057e-05/0.01449, allocations: 79.31 kB / 0.8852 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.01452, allocations: 4.734 kB / 0.8852 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.01455, allocations: 12.5 kB / 0.8852 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.01455, allocations: 0 / 0.8852 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of Templates: time 0.005892/0.02044, allocations: 2.135 MB / 0.8873 GB, free: 12.12 MB / 0.8542 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.71608105301857]