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.001043/0.001043, allocations: 93.06 kB / 19.65 MB, free: 280 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.001001/0.001001, allocations: 165 kB / 23.01 MB, free: 1.555 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.111/2.111, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 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 1.413e-06/1.413e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.712e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001194/0.001211, allocations: 0.7057 MB / 0.8789 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.002534, allocations: 1.241 MB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.00257, allocations: 4.594 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.002599, allocations: 0 / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.002675, allocations: 22.27 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.00314, allocations: 213.5 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.003319, allocations: 183.6 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.003406, allocations: 13.89 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.003505, allocations: 91.92 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.003609, allocations: 55.84 kB / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.003636, allocations: 16 kB / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.077e-05/0.003697, allocations: 31.92 kB / 0.8807 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.003719, allocations: 14.61 kB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.003779, allocations: 51.89 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.003952, allocations: 139.7 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003954, allocations: 0 / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003954, allocations: 0 / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003958, allocations: 0 / 0.8809 GB, free: 3.547 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.0005549/0.004513, allocations: 471.8 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.004547, allocations: 8.75 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.004607, allocations: 16.89 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.017e-05/0.004698, allocations: 118.2 kB / 0.8815 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.004717, allocations: 4.375 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.00474, allocations: 8.375 kB / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.004838, allocations: 58.94 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.00485, allocations: 3.938 kB / 0.8815 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.00486, allocations: 5.344 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.004869, allocations: 3.984 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.00489, allocations: 8 kB / 0.8816 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.005286, allocations: 339.6 kB / 0.8819 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.005361, allocations: 39 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.00538, allocations: 15.77 kB / 0.8819 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.005385, allocations: 4 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.005489, allocations: 88.95 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.00549, allocations: 0 / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002277/0.005718, allocations: 121.8 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.00575, allocations: 55.41 kB / 0.8822 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.005834, allocations: 181.8 kB / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.005856, allocations: 37.69 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.00591, allocations: 135.1 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.005925, allocations: 19.86 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.005988, allocations: 59.34 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.006092, allocations: 0.4884 MB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.006198, allocations: 111.4 kB / 0.8832 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.006328, allocations: 181.1 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.006475, allocations: 205 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.006478, allocations: 3.938 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003034/0.006781, allocations: 332.2 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.006817, allocations: 67.39 kB / 0.8839 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.006825, allocations: 7.938 kB / 0.8839 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.006841, allocations: 0 / 0.8839 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.006887, allocations: 8 kB / 0.884 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.006893, allocations: 3.984 kB / 0.884 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.007044, allocations: 44.11 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.007064, allocations: 15.94 kB / 0.884 GB, free: 15.98 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 7.663e-05/0.007141, allocations: 172.5 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.007153, allocations: 11.95 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.007183, allocations: 12.42 kB / 0.8842 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.007185, allocations: 4.094 kB / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.00719, allocations: 3.984 kB / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007193, allocations: 4 kB / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.007722, allocations: 349.4 kB / 0.8845 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.007723, allocations: 0 / 0.8845 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.007728, allocations: 0 / 0.8845 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.00773, allocations: 0 / 0.8845 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.007739, allocations: 8 kB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00774, allocations: 0 / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.00774, allocations: 0 / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.007872, allocations: 251.7 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.007879, allocations: 3.953 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.007894, allocations: 8 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.007924, allocations: 4 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.007954, allocations: 7.984 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.007967, allocations: 4 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.00801, allocations: 131.2 kB / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00801, allocations: 0 / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001801/0.00819, allocations: 43.88 kB / 0.885 GB, free: 14.91 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.0001027/0.008293, allocations: 103.2 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.008549, allocations: 288.7 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.00855, allocations: 4.062 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.008589, allocations: 39.59 kB / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.00879, allocations: 23.91 kB / 0.8854 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.009045, allocations: 158.5 kB / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.00908, allocations: 67.34 kB / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.009101, allocations: 4.734 kB / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.00912, allocations: 12.5 kB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.009121, allocations: 4 kB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.003491/0.01261, allocations: 2.139 MB / 0.8878 GB, free: 12.03 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","",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.5727514596655965]