Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001794, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6362/0.6375, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001833/0.6394, allocations: 0.67 MB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.6407, allocations: 1.2 MB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.6408, allocations: 0 / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.6408, allocations: 3.938 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.6409, allocations: 13.48 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.6415, allocations: 214.1 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.6416, allocations: 188.7 kB / 0.952 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.6417, allocations: 17.52 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.6418, allocations: 68.86 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.6419, allocations: 58.11 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.642, allocations: 15.69 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.6421, allocations: 34.12 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.6421, allocations: 7.25 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.6422, allocations: 59.42 kB / 0.9522 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.6424, allocations: 157.1 kB / 0.9524 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6424, allocations: 5.219 kB / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6424, allocations: 0 / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6424, allocations: 0 / 0.9524 GB, free: 7.133 MB / 0.7169 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.0004272/0.6428, allocations: 443 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6429, allocations: 13.84 kB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.369e-05/0.6429, allocations: 31.84 kB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.643, allocations: 15.44 kB / 0.9528 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.643, allocations: 171.7 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6431, allocations: 8.906 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.6431, allocations: 10.25 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.6432, allocations: 52.39 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.6432, allocations: 0 / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.6432, allocations: 4 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.6432, allocations: 1.25 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.6433, allocations: 22.95 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.6437, allocations: 360.5 kB / 0.9534 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.652e-05/0.6438, allocations: 37.75 kB / 0.9535 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.6438, allocations: 14.58 kB / 0.9535 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.6438, allocations: 1.688 kB / 0.9535 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.644, allocations: 95.97 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.644, allocations: 0 / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002613/0.6443, allocations: 122.3 kB / 0.9537 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.6443, allocations: 56.81 kB / 0.9538 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.6444, allocations: 120.5 kB / 0.9539 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.6444, allocations: 33.67 kB / 0.9539 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.6445, allocations: 93.94 kB / 0.954 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.6445, allocations: 30.09 kB / 0.954 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.6446, allocations: 53.94 kB / 0.9541 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.6446, allocations: 329.4 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.6448, allocations: 56.41 kB / 0.9544 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.6449, allocations: 107.5 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.6451, allocations: 184.3 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6451, allocations: 1.094 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003961/0.6455, allocations: 288.1 kB / 0.955 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.6455, allocations: 69.52 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6456, allocations: 1.438 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6456, allocations: 2.469 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.6456, allocations: 7.875 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.6456, allocations: 2.656 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.646, allocations: 52.23 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.646, allocations: 17.81 kB / 0.9551 GB, free: 4.52 MB / 0.7169 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.928e-05/0.6461, allocations: 132.4 kB / 0.9553 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.6461, allocations: 7.312 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.6462, allocations: 9.406 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6462, allocations: 2.5 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6462, allocations: 0 / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6462, allocations: 0 / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.6464, allocations: 365.8 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.6464, allocations: 0 / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/0.6465, allocations: 2.812 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6465, allocations: 0 / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.6465, allocations: 1.469 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6465, allocations: 1.469 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6465, allocations: 3.938 kB / 0.9557 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.6467, allocations: 204.8 kB / 0.9558 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.6467, allocations: 86.05 kB / 0.9559 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.6467, allocations: 6.625 kB / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.6468, allocations: 0 / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.6468, allocations: 12.08 kB / 0.9559 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.6468, allocations: 2.25 kB / 0.9559 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.6469, allocations: 100.8 kB / 0.956 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6469, allocations: 0 / 0.956 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002868/0.6472, allocations: 35.12 kB / 0.9561 GB, free: 3.637 MB / 0.7169 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.0003717/0.6475, allocations: 0.7461 MB / 0.9568 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.6479, allocations: 256.6 kB / 0.9571 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6479, allocations: 0 / 0.9571 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.648, allocations: 36.98 kB / 0.9571 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.6483, allocations: 30.28 kB / 0.9571 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.65, allocations: 1.863 MB / 0.9589 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.6501, allocations: 0.6937 MB / 0.9596 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.6502, allocations: 5.328 kB / 0.9596 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.6502, allocations: 27.17 kB / 0.9596 GB, free: 328 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.6502, allocations: 0 / 0.9596 GB, free: 328 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.6702, allocations: 2.97 MB / 0.9625 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.116, allocations: 13.08 kB / 0.9626 GB, free: 14.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches