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.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.0008344/0.0008344, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009865/0.0009865, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.074e-06/2.074e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.7e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001224/0.001241, allocations: 0.6653 MB / 0.9512 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.002339, allocations: 1.225 MB / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.002383, allocations: 0 / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.002411, allocations: 3.938 kB / 0.9524 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.002477, allocations: 15.86 kB / 0.9524 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.003022, allocations: 224 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.003199, allocations: 183.6 kB / 0.9528 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.003279, allocations: 8 kB / 0.9528 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.003382, allocations: 99.91 kB / 0.9529 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.003478, allocations: 51.84 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.003501, allocations: 16 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.003557, allocations: 31.98 kB / 0.953 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.003581, allocations: 7.984 kB / 0.953 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.003635, allocations: 51.89 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.00381, allocations: 191.5 kB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003812, allocations: 0 / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003813, allocations: 3.938 kB / 0.9532 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.003816, allocations: 3.938 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 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.000377/0.004193, allocations: 369.5 kB / 0.9536 GB, free: 320 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.004228, allocations: 8.031 kB / 0.9536 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.004254, allocations: 34.75 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.004291, allocations: 8.891 kB / 0.9536 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.848e-05/0.004359, allocations: 117.7 kB / 0.9537 GB, free: 116 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.004377, allocations: 12.36 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.004397, allocations: 12.38 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.004485, allocations: 53.98 kB / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-06/0.004492, allocations: 0 / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.0045, allocations: 0 / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004504, allocations: 4 kB / 0.9538 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.00454, allocations: 19.92 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.004918, allocations: 291.9 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.262e-05/0.004981, allocations: 30.56 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.005001, allocations: 12.86 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.005007, allocations: 4 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.005136, allocations: 107.3 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.005136, allocations: 0 / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0002022/0.005339, allocations: 125.6 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.005374, allocations: 55.41 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.00544, allocations: 129.8 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.005461, allocations: 29.7 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.005511, allocations: 92.36 kB / 0.9547 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.005526, allocations: 27.78 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.005585, allocations: 53.69 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.005674, allocations: 318.8 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.005786, allocations: 123.4 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.005908, allocations: 173.1 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.006076, allocations: 185.3 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006077, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000291/0.006368, allocations: 344.2 kB / 0.9558 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.006403, allocations: 73.52 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006407, allocations: 0 / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006418, allocations: 4 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.006462, allocations: 16.08 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006467, allocations: 4 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.006631, allocations: 51.94 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.006651, allocations: 11.98 kB / 0.956 GB, free: 13.55 MB / 0.9167 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.304e-05/0.006724, allocations: 139.5 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.006733, allocations: 3.953 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.006752, allocations: 12.44 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006754, allocations: 4 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.006757, allocations: 0 / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.006761, allocations: 3.984 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.007023, allocations: 325.5 kB / 0.9564 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.007024, allocations: 0 / 0.9564 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.007029, allocations: 8 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.00703, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.007037, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007038, allocations: 4 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007039, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.007149, allocations: 207.3 kB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.007156, allocations: 7.953 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.007167, allocations: 0 / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.125e-05/0.007198, allocations: 4 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.007222, allocations: 11.92 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.007234, allocations: 7.938 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.007265, allocations: 91.27 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007265, allocations: 0 / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001904/0.007456, allocations: 32.19 kB / 0.9568 GB, free: 12.63 MB / 0.9167 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.0002962/0.007752, allocations: 0.7435 MB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.007996, allocations: 290.3 kB / 0.9578 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007997, allocations: 0 / 0.9578 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.008032, allocations: 27.92 kB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.008226, allocations: 21.64 kB / 0.9579 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.009701, allocations: 2.11 MB / 0.9599 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.009742, allocations: 79.25 kB / 0.96 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.009766, allocations: 12.8 kB / 0.96 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.009799, allocations: 24.5 kB / 0.96 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.0098, allocations: 0 / 0.96 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.02528, allocations: 3.893 MB / 0.9638 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.8, allocations: 9.594 kB / 0.9638 GB, free: 5.348 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.86509076692164]