Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.91 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.843, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00154/0.8446, allocations: 0.6908 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.8457, allocations: 1.208 MB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.8458, allocations: 0.8125 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.8458, allocations: 3.938 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.8459, allocations: 12.47 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.8464, allocations: 225.4 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.8466, allocations: 179.1 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.8467, allocations: 12.52 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.8468, allocations: 69.09 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.8469, allocations: 64.61 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.8469, allocations: 15.38 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.847, allocations: 37.3 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.847, allocations: 4.984 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.8471, allocations: 60.44 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.8473, allocations: 158.9 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8473, allocations: 0 / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8473, allocations: 0 / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8473, allocations: 1.031 kB / 1.274 GB, free: 6.047 MB / 0.9981 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.0003835/0.8477, allocations: 439 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.8477, allocations: 9.219 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.078e-05/0.8477, allocations: 36.39 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.8478, allocations: 13.86 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.526e-05/0.8478, allocations: 176 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.8479, allocations: 6.203 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.8479, allocations: 13.89 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.407e-05/0.848, allocations: 55.16 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.848, allocations: 4 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.848, allocations: 1.812 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.848, allocations: 1.031 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.848, allocations: 13.77 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.8484, allocations: 353.9 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.8485, allocations: 37.69 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.8485, allocations: 19.73 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.8485, allocations: 8.844 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.8487, allocations: 90.05 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.8487, allocations: 3.938 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002647/0.8489, allocations: 123.5 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.8489, allocations: 58.62 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.849, allocations: 118 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.849, allocations: 33.8 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.8491, allocations: 97.36 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.8491, allocations: 22.77 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.8492, allocations: 55.25 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.8492, allocations: 323.1 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.8494, allocations: 61.75 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.8495, allocations: 111.9 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.8497, allocations: 183.1 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8497, allocations: 0.7812 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004041/0.8501, allocations: 288.8 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.8501, allocations: 68.2 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8501, allocations: 1.375 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8501, allocations: 3.219 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.8502, allocations: 6.109 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8502, allocations: 2 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.8505, allocations: 61.2 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.8505, allocations: 16.67 kB / 1.277 GB, free: 3.641 MB / 0.9981 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.351e-05/0.8506, allocations: 129.5 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.8506, allocations: 4.188 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.8506, allocations: 10.17 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8506, allocations: 0.6562 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8506, allocations: 1.25 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8506, allocations: 6.484 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.8509, allocations: 363.2 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8509, allocations: 0.6875 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.8509, allocations: 5.188 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8509, allocations: 0.75 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.8509, allocations: 6.766 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8509, allocations: 4.656 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8509, allocations: 4.969 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.8511, allocations: 189 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.8511, allocations: 87.61 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.8511, allocations: 7.172 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.148e-05/0.8511, allocations: 9.359 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.8512, allocations: 5.406 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.8512, allocations: 8.078 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.8512, allocations: 92.14 kB / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8512, allocations: 0 / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000267/0.8515, allocations: 30.05 kB / 1.278 GB, free: 2.805 MB / 0.9981 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.0003383/0.8518, allocations: 0.7435 MB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002988/0.8521, allocations: 232.5 kB / 1.279 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8521, allocations: 5.031 kB / 1.279 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.8522, allocations: 33.2 kB / 1.279 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.8525, allocations: 19.66 kB / 1.279 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.8542, allocations: 1.867 MB / 1.281 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.8545, allocations: 0.6887 MB / 1.281 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.883e-05/0.8545, allocations: 12.16 kB / 1.281 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.8546, allocations: 19.97 kB / 1.281 GB, free: 15.66 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.8546, allocations: 3.938 kB / 1.281 GB, free: 15.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.8803, allocations: 3.01 MB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.958, allocations: 9.281 kB / 1.284 GB, free: 15.17 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.trigger from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.reset in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.reset from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.319563725002808]