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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009132/0.0009132, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007309/0.007309, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003846, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6676/0.668, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008804/0.6689, allocations: 416.4 kB / 0.9556 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.6705, allocations: 1.209 MB / 0.9568 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.6706, allocations: 1.312 kB / 0.9568 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.6706, allocations: 3.938 kB / 0.9568 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.6707, allocations: 13.06 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.6713, allocations: 197.3 kB / 0.957 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.6715, allocations: 160.2 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.6717, allocations: 4.094 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.6718, allocations: 68.66 kB / 0.9572 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.6719, allocations: 50.38 kB / 0.9572 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.6719, allocations: 8.375 kB / 0.9572 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.672, allocations: 22.7 kB / 0.9573 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.6721, allocations: 11.31 kB / 0.9573 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.6722, allocations: 77.28 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.6724, allocations: 145.1 kB / 0.9575 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6724, allocations: 7.938 kB / 0.9575 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/0.6724, allocations: 0 / 0.9575 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6724, allocations: 1.812 kB / 0.9575 GB, free: 5.906 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.0004494/0.6729, allocations: 410.4 kB / 0.9579 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6729, allocations: 9.906 kB / 0.9579 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.673, allocations: 34.73 kB / 0.9579 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.673, allocations: 8.531 kB / 0.9579 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.056e-05/0.6731, allocations: 170.9 kB / 0.9581 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.6731, allocations: 13.48 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.6732, allocations: 13.5 kB / 0.9581 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.6733, allocations: 59.64 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6733, allocations: 0 / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.6733, allocations: 1.031 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6733, allocations: 0.9688 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.6734, allocations: 19.42 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.6739, allocations: 352.2 kB / 0.9585 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.674, allocations: 44.66 kB / 0.9586 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.674, allocations: 24.41 kB / 0.9586 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.674, allocations: 0 / 0.9586 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.6742, allocations: 92.64 kB / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.6742, allocations: 0.875 kB / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002712/0.6745, allocations: 121 kB / 0.9588 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6745, allocations: 65.98 kB / 0.9589 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.6746, allocations: 119 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.6746, allocations: 34.7 kB / 0.959 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.6747, allocations: 92.83 kB / 0.9591 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.6747, allocations: 22.97 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.6748, allocations: 26.05 kB / 0.9592 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.6748, allocations: 321 kB / 0.9595 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.675, allocations: 68.2 kB / 0.9595 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.6751, allocations: 110.1 kB / 0.9596 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.6753, allocations: 185.2 kB / 0.9598 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6753, allocations: 0 / 0.9598 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004191/0.6757, allocations: 288.3 kB / 0.9601 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.6758, allocations: 65.03 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6758, allocations: 5.359 kB / 0.9601 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6758, allocations: 2.75 kB / 0.9601 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.482e-05/0.6759, allocations: 4.125 kB / 0.9602 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6759, allocations: 6.844 kB / 0.9602 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.6763, allocations: 74.81 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.6763, allocations: 18.98 kB / 0.9602 GB, free: 3.309 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 8.198e-05/0.6764, allocations: 123 kB / 0.9604 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.6764, allocations: 12.02 kB / 0.9604 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.6764, allocations: 9.75 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.6764, allocations: 1.375 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6765, allocations: 4 kB / 0.9604 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6765, allocations: 0 / 0.9604 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.6767, allocations: 363.2 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6767, allocations: 0 / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.6767, allocations: 5.453 kB / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6767, allocations: 5.312 kB / 0.9607 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.6768, allocations: 5.312 kB / 0.9608 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6768, allocations: 0 / 0.9608 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6768, allocations: 5.312 kB / 0.9608 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.6769, allocations: 199.4 kB / 0.9609 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.677, allocations: 87.75 kB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.677, allocations: 1.375 kB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.677, allocations: 5.375 kB / 0.961 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.6771, allocations: 10.67 kB / 0.961 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.6771, allocations: 4.125 kB / 0.9611 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.6771, allocations: 95.45 kB / 0.9611 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6771, allocations: 0 / 0.9611 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002811/0.6774, allocations: 36.88 kB / 0.9612 GB, free: 2.422 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.0003384/0.6778, allocations: 0.7338 MB / 0.9619 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.6781, allocations: 256.8 kB / 0.9621 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6781, allocations: 1.062 kB / 0.9621 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.6782, allocations: 32.33 kB / 0.9622 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.6785, allocations: 25.42 kB / 0.9622 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.6802, allocations: 1.87 MB / 0.964 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.6805, allocations: 0.6936 MB / 0.9647 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.6805, allocations: 9.438 kB / 0.9647 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.6805, allocations: 23.55 kB / 0.9647 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of SimCode: time 1.723e-06/0.6805, allocations: 0 / 0.9647 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.6924, allocations: 2.727 MB / 0.9674 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/0.6928, allocations: 210.1 kB / 0.9676 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/4.072, allocations: 2.25 kB / 0.9676 GB, free: 13.54 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