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.0008998/0.0008998, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009778/0.0009778, allocations: 173 kB / 23.49 MB, free: 1.055 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.433/2.433, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 4.127e-06/4.127e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.817e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001741/0.001779, allocations: 0.6969 MB / 0.8789 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003359, allocations: 1.249 MB / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.003419, allocations: 1.156 kB / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.003453, allocations: 3.938 kB / 0.8801 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.003541, allocations: 18.16 kB / 0.8801 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.004226, allocations: 215.4 kB / 0.8803 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.004479, allocations: 181.8 kB / 0.8805 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004596, allocations: 8 kB / 0.8805 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.004745, allocations: 99.91 kB / 0.8806 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.004877, allocations: 51.86 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.00491, allocations: 19.98 kB / 0.8807 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.004989, allocations: 28.48 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.005017, allocations: 5.344 kB / 0.8807 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.005091, allocations: 59.88 kB / 0.8808 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.005321, allocations: 139.6 kB / 0.8809 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.005325, allocations: 0 / 0.8809 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/0.005327, allocations: 4.719 kB / 0.8809 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.005333, allocations: 0 / 0.8809 GB, free: 3.902 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.0005333/0.005866, allocations: 465.4 kB / 0.8813 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.005913, allocations: 12.03 kB / 0.8813 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/0.005986, allocations: 16.88 kB / 0.8814 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.006087, allocations: 108.6 kB / 0.8815 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.006113, allocations: 10.28 kB / 0.8815 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.006143, allocations: 16.38 kB / 0.8815 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.006261, allocations: 54.94 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.006269, allocations: 3.938 kB / 0.8815 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.006281, allocations: 4 kB / 0.8816 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.00629, allocations: 2.562 kB / 0.8816 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.006316, allocations: 11.98 kB / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.007059, allocations: 323.7 kB / 0.8819 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.007165, allocations: 54.91 kB / 0.8819 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.007186, allocations: 15.77 kB / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.007192, allocations: 0 / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.00734, allocations: 89.73 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/0.007343, allocations: 1.344 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000282/0.007624, allocations: 117.8 kB / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.007671, allocations: 59.34 kB / 0.8822 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.007792, allocations: 177.9 kB / 0.8824 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.007821, allocations: 37.7 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.00789, allocations: 143.1 kB / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.007906, allocations: 11.89 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.007985, allocations: 67.28 kB / 0.8826 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.008111, allocations: 0.4884 MB / 0.8831 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.008249, allocations: 115.4 kB / 0.8832 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.00839, allocations: 177.2 kB / 0.8834 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.008563, allocations: 193.1 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.008567, allocations: 3.938 kB / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003794/0.008946, allocations: 332.2 kB / 0.8839 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.009001, allocations: 71.39 kB / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.009008, allocations: 0 / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.009025, allocations: 4 kB / 0.8839 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.009086, allocations: 7.938 kB / 0.884 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.009096, allocations: 8.141 kB / 0.884 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.009286, allocations: 51.84 kB / 0.884 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.009311, allocations: 15.98 kB / 0.884 GB, free: 348 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.0001132/0.009424, allocations: 170.8 kB / 0.8842 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.009446, allocations: 11.89 kB / 0.8842 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.009479, allocations: 12.44 kB / 0.8842 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.009484, allocations: 3.984 kB / 0.8842 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.00949, allocations: 0 / 0.8842 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.009495, allocations: 4 kB / 0.8842 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.00982, allocations: 353.4 kB / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009822, allocations: 0 / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.009833, allocations: 4 kB / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009836, allocations: 0 / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009844, allocations: 0 / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009846, allocations: 0 / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.009848, allocations: 0 / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01002, allocations: 255.7 kB / 0.8848 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.01004, allocations: 7.953 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.01005, allocations: 0 / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.0101, allocations: 4 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.01014, allocations: 11.98 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.01016, allocations: 11.94 kB / 0.8848 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.01021, allocations: 131.2 kB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01021, allocations: 0 / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000225/0.01043, allocations: 32 kB / 0.885 GB, free: 15.28 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.0001785/0.01061, allocations: 111.1 kB / 0.8851 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.01092, allocations: 286 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01092, allocations: 4.062 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.01097, allocations: 35.61 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01123, allocations: 23.45 kB / 0.8854 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.0116, allocations: 166.5 kB / 0.8856 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.263e-05/0.01164, allocations: 63.34 kB / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.01167, allocations: 8.734 kB / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.01169, allocations: 12.5 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of SimCode: time 1.683e-06/0.01169, allocations: 4 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.00451/0.0162, allocations: 2.124 MB / 0.8878 GB, free: 12.41 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: 6.070701491087675]