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.001268/0.001268, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 192.3 kB / 16.26 MB, free: 6.152 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.362/2.362, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.89 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6442, allocations: 140.4 MB / 0.9492 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001966/0.6462, allocations: 0.7409 MB / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.6475, allocations: 1.197 MB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.6476, allocations: 0 / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.6476, allocations: 5.312 kB / 0.9511 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.6477, allocations: 5.312 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.6483, allocations: 200.1 kB / 0.9513 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.6486, allocations: 188.9 kB / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.6487, allocations: 25.81 kB / 0.9515 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.6488, allocations: 64.62 kB / 0.9516 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.6488, allocations: 62.16 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.6489, allocations: 15.22 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.649, allocations: 26.7 kB / 0.9517 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.649, allocations: 6.625 kB / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.6491, allocations: 63.69 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.6493, allocations: 153.8 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6493, allocations: 4 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6493, allocations: 1.188 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6493, allocations: 0 / 0.9519 GB, free: 7.156 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.0005046/0.6499, allocations: 438.2 kB / 0.9523 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.6499, allocations: 9.75 kB / 0.9523 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.39e-05/0.6499, allocations: 32.12 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.65, allocations: 11.25 kB / 0.9524 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.245e-05/0.6501, allocations: 179.7 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.6501, allocations: 5.031 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.6502, allocations: 10.25 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.6503, allocations: 67.36 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6503, allocations: 0 / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.6503, allocations: 1.094 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.6503, allocations: 1.688 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.6504, allocations: 14.23 kB / 0.9527 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.6508, allocations: 352.1 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.6509, allocations: 45.97 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.651, allocations: 18.83 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.651, allocations: 0 / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.6512, allocations: 89.66 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.6512, allocations: 0 / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002738/0.6515, allocations: 125.3 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.6515, allocations: 58.12 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.6516, allocations: 123.6 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.6516, allocations: 38.27 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.6517, allocations: 96.78 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.6517, allocations: 23.19 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.6518, allocations: 58.22 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.6519, allocations: 324.3 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.652, allocations: 60.72 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.6521, allocations: 109.4 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.6523, allocations: 189.5 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6523, allocations: 0 / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004183/0.6528, allocations: 277.2 kB / 0.9546 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.6528, allocations: 68.73 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6528, allocations: 1.219 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6528, allocations: 2.562 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.6529, allocations: 9 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6529, allocations: 5.406 kB / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.6533, allocations: 60.98 kB / 0.9547 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.6533, allocations: 10 kB / 0.9547 GB, free: 4.543 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 9.66e-05/0.6534, allocations: 127.6 kB / 0.9548 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.6534, allocations: 7.25 kB / 0.9548 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.6535, allocations: 13.44 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.6535, allocations: 1.125 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6535, allocations: 0 / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6535, allocations: 1.156 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.6538, allocations: 366.3 kB / 0.9552 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6538, allocations: 0 / 0.9552 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.6538, allocations: 5.375 kB / 0.9552 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6538, allocations: 96 / 0.9552 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6538, allocations: 9.391 kB / 0.9552 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6538, allocations: 5.281 kB / 0.9552 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6538, allocations: 3.938 kB / 0.9552 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.654, allocations: 205.2 kB / 0.9554 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.654, allocations: 83.39 kB / 0.9555 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.654, allocations: 1.094 kB / 0.9555 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.6541, allocations: 1.156 kB / 0.9555 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.6541, allocations: 11.39 kB / 0.9555 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.6541, allocations: 10.31 kB / 0.9555 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.6542, allocations: 101.2 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6542, allocations: 0 / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000343/0.6545, allocations: 28.59 kB / 0.9556 GB, free: 3.648 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.0003484/0.6549, allocations: 0.7383 MB / 0.9564 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.6552, allocations: 266.1 kB / 0.9566 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6552, allocations: 0 / 0.9566 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.6553, allocations: 27.91 kB / 0.9566 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.6556, allocations: 22.2 kB / 0.9567 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.6573, allocations: 1.876 MB / 0.9585 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.6575, allocations: 0.6902 MB / 0.9592 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.6575, allocations: 4.797 kB / 0.9592 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.6575, allocations: 23.55 kB / 0.9592 GB, free: 344 kB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.6575, allocations: 0 / 0.9592 GB, free: 344 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.6715, allocations: 2.884 MB / 0.962 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.6718, allocations: 210 kB / 0.9622 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.712, allocations: 0 / 0.9622 GB, free: 14.64 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