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.001835/0.001835, allocations: 88.72 kB / 19.44 MB, free: 356 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.00254/0.00254, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.175e-06/2.175e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.467e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002154/0.002189, allocations: 0.6747 MB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.004399, allocations: 1.221 MB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.004454, allocations: 1.125 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.004492, allocations: 3.938 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.004589, allocations: 19.84 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.0054, allocations: 217.5 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.005775, allocations: 176.8 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005891, allocations: 4 kB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.006182, allocations: 103.8 kB / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.006371, allocations: 49 kB / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.006417, allocations: 16 kB / 0.88 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.006524, allocations: 31.98 kB / 0.8801 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.006551, allocations: 8.656 kB / 0.8801 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.006655, allocations: 51.94 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.007148, allocations: 193 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.007152, allocations: 0 / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007153, allocations: 0 / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.00716, allocations: 0 / 0.8803 GB, free: 3.734 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.0007321/0.007892, allocations: 370.4 kB / 0.8806 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.007938, allocations: 8.031 kB / 0.8807 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.008048, allocations: 16.89 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.008198, allocations: 114.8 kB / 0.8808 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.008233, allocations: 8.359 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.008277, allocations: 16.38 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.008434, allocations: 54.73 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.008445, allocations: 8.531 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.008457, allocations: 0 / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.008462, allocations: 1.531 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.008509, allocations: 12 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.009141, allocations: 280.4 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.009249, allocations: 33.8 kB / 0.8812 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.009292, allocations: 20.88 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.009307, allocations: 4 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.009594, allocations: 95.28 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.009596, allocations: 0 / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0004011/0.009997, allocations: 133.5 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.01005, allocations: 55.41 kB / 0.8815 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.01021, allocations: 125.8 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.01025, allocations: 34.95 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.01035, allocations: 88.38 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.01037, allocations: 19.84 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.0105, allocations: 53.67 kB / 0.8818 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.0107, allocations: 316.4 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.01094, allocations: 123.4 kB / 0.8822 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.0112, allocations: 172.6 kB / 0.8824 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.0115, allocations: 186.4 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.01151, allocations: 3.938 kB / 0.8825 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000669/0.01218, allocations: 356.2 kB / 0.8829 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.589e-05/0.01226, allocations: 71.39 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.01227, allocations: 4 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.0123, allocations: 4 kB / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.01236, allocations: 7.984 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01237, allocations: 3.938 kB / 0.883 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.01274, allocations: 59.98 kB / 0.883 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.01278, allocations: 19.94 kB / 0.883 GB, free: 0.6211 MB / 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.000141/0.01292, allocations: 125.8 kB / 0.8832 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.01295, allocations: 11.95 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.01299, allocations: 8.438 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.013, allocations: 4 kB / 0.8832 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.013, allocations: 4 kB / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01301, allocations: 0 / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.01343, allocations: 302.1 kB / 0.8835 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01343, allocations: 0 / 0.8835 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.01345, allocations: 11.92 kB / 0.8835 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01345, allocations: 0 / 0.8835 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.01346, allocations: 0 / 0.8835 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01347, allocations: 4 kB / 0.8835 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01347, allocations: 0 / 0.8835 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01376, allocations: 203.4 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01378, allocations: 11.94 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.0138, allocations: 4 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.01386, allocations: 4 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.01391, allocations: 7.984 kB / 0.8837 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.01393, allocations: 4 kB / 0.8837 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.01401, allocations: 91.27 kB / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01401, allocations: 0 / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003116/0.01432, allocations: 32 kB / 0.8838 GB, free: 15.75 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.0002156/0.01453, allocations: 107.2 kB / 0.8839 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.01504, allocations: 298.1 kB / 0.8842 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.01505, allocations: 0 / 0.8842 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.01512, allocations: 28 kB / 0.8843 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.01548, allocations: 19.91 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.01602, allocations: 168.8 kB / 0.8844 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01612, allocations: 83.62 kB / 0.8845 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.01616, allocations: 8.734 kB / 0.8845 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.01619, allocations: 16.44 kB / 0.8845 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.263e-06/0.01619, allocations: 0 / 0.8845 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.006814/0.02301, allocations: 2.144 MB / 0.8866 GB, free: 12.86 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 800] 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.2701291940175]