Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008395/0.0008395, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 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.0008226/0.0008226, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9128/0.9128, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.084e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001247/0.001268, allocations: 0.6876 MB / 0.9816 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002402, allocations: 1.221 MB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.002439, allocations: 0 / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.002465, allocations: 3.938 kB / 0.9828 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.002524, allocations: 19.88 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.00298, allocations: 218.5 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003137, allocations: 183.6 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.531e-05/0.003212, allocations: 7.984 kB / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.003309, allocations: 99.86 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.003403, allocations: 51.91 kB / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.003426, allocations: 20 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.003481, allocations: 27.98 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.003502, allocations: 11.92 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.003563, allocations: 52.03 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.003737, allocations: 191.5 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003739, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00374, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003744, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 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.0004071/0.004151, allocations: 357.6 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.00419, allocations: 8.031 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.004216, allocations: 42.67 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.004258, allocations: 16.89 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.004331, allocations: 113.7 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.00435, allocations: 4.375 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.004371, allocations: 12.38 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.465e-05/0.004466, allocations: 53.98 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004474, allocations: 0 / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.004483, allocations: 4 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.004488, allocations: 3.938 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.004519, allocations: 15.98 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.004922, allocations: 299.8 kB / 0.9846 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.825e-05/0.00499, allocations: 34.56 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.005012, allocations: 16.94 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.005019, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.005162, allocations: 99.25 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.005163, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0002145/0.005377, allocations: 129.5 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.005406, allocations: 55.41 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.005472, allocations: 125.7 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.005494, allocations: 33.7 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.005539, allocations: 100.3 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.005555, allocations: 23.89 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.005615, allocations: 49.69 kB / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.005687, allocations: 322.8 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.005805, allocations: 123.4 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.005927, allocations: 169.4 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.006068, allocations: 185.3 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00607, allocations: 0 / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000309/0.006379, allocations: 344.2 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.006419, allocations: 71.39 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006425, allocations: 0 / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.006438, allocations: 4 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.006482, allocations: 7.938 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.006488, allocations: 0 / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.006666, allocations: 56.09 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.00669, allocations: 15.98 kB / 0.9864 GB, free: 12.61 MB / 0.948 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 8.206e-05/0.006772, allocations: 131.8 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.006783, allocations: 11.94 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.006807, allocations: 12.38 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006809, allocations: 0 / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.006814, allocations: 3.938 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.006817, allocations: 0 / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.007065, allocations: 333.5 kB / 0.9869 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.007067, allocations: 0 / 0.9869 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/0.007075, allocations: 4 kB / 0.9869 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.007078, allocations: 3.984 kB / 0.9869 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.007088, allocations: 4 kB / 0.9869 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.00709, allocations: 3.938 kB / 0.9869 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007091, allocations: 0 / 0.9869 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.00723, allocations: 199.4 kB / 0.9871 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.00724, allocations: 7.953 kB / 0.9871 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.007256, allocations: 7.984 kB / 0.9871 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.007288, allocations: 0 / 0.9871 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.007322, allocations: 11.98 kB / 0.9871 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.007337, allocations: 7.938 kB / 0.9872 GB, free: 11.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.007377, allocations: 95.27 kB / 0.9872 GB, free: 11.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.007377, allocations: 0 / 0.9872 GB, free: 11.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001954/0.007573, allocations: 28 kB / 0.9873 GB, free: 11.69 MB / 0.948 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.0003297/0.007902, allocations: 0.7358 MB / 0.988 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.008149, allocations: 294.3 kB / 0.9883 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.00815, allocations: 4.25 kB / 0.9883 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.008186, allocations: 35.92 kB / 0.9883 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.008388, allocations: 19.92 kB / 0.9883 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.00981, allocations: 2.102 MB / 0.9904 GB, free: 8.262 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.63e-05/0.009856, allocations: 83.12 kB / 0.9905 GB, free: 8.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.009877, allocations: 8.734 kB / 0.9905 GB, free: 8.152 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.009912, allocations: 24.48 kB / 0.9905 GB, free: 8.129 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.009913, allocations: 0 / 0.9905 GB, free: 8.129 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.02459, allocations: 3.893 MB / 0.9943 GB, free: 4.434 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/6.699, allocations: 13.38 kB / 0.9943 GB, free: 4.43 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable onCounter.trigger in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.trigger from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.reset in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.reset from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.836765269748867]