Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_10_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.006199/0.006199, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001674/0.001674, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.27/2.27, allocations: 437.1 MB / 0.7105 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 71.91 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6106, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001508/0.6122, allocations: 0.6929 MB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.6135, allocations: 1.201 MB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.6136, allocations: 4 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.6136, allocations: 3.938 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.6137, allocations: 11.86 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.6142, allocations: 218.1 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.6145, allocations: 199.7 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.6146, allocations: 8 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.6147, allocations: 75.81 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.6148, allocations: 63.83 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.6148, allocations: 16 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.6149, allocations: 31.98 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.6149, allocations: 8 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.615, allocations: 67.81 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.6152, allocations: 154.3 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6152, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6152, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.6152, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 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.0004707/0.6157, allocations: 439.6 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.6157, allocations: 8.922 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.6158, allocations: 30.75 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.6158, allocations: 12.89 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.616, allocations: 184.2 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.616, allocations: 12.38 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.616, allocations: 16.12 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/0.6161, allocations: 45.67 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.6161, allocations: 0 / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.6161, allocations: 0 / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6162, allocations: 4 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.6162, allocations: 11.98 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.6167, allocations: 356.7 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.6167, allocations: 46.5 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.6168, allocations: 12.86 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-06/0.6168, allocations: 4 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.617, allocations: 99.33 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 3.316e-06/0.617, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0002456/0.6172, allocations: 125.5 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.6173, allocations: 63.41 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.6174, allocations: 117.8 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6174, allocations: 29.7 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.6175, allocations: 88.38 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.6175, allocations: 31.77 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-05/0.6176, allocations: 53.69 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6177, allocations: 322.8 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.6178, allocations: 59.97 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.618, allocations: 114 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.6182, allocations: 185.3 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6182, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004201/0.6187, allocations: 280.9 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.6187, allocations: 71.39 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6187, allocations: 3.984 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6187, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.6188, allocations: 8.094 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6188, allocations: 4 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.6191, allocations: 47.94 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.6191, allocations: 23.92 kB / 1.172 GB, free: 13.8 MB / 0.9044 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.638e-05/0.6192, allocations: 122.9 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.6193, allocations: 11.95 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.6193, allocations: 16.36 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.6193, allocations: 384 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6193, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6193, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.6196, allocations: 366.3 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6196, allocations: 4 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.6197, allocations: 3.984 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6197, allocations: 7.938 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.6197, allocations: 0 / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6197, allocations: 7.938 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6197, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.6199, allocations: 195.4 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.6199, allocations: 85.06 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.6199, allocations: 3.984 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.62, allocations: 11.94 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.62, allocations: 0 / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.62, allocations: 7.984 kB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.6201, allocations: 95.81 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6201, allocations: 0 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002514/0.6204, allocations: 36 kB / 1.173 GB, free: 12.74 MB / 0.9044 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.0004694/0.6208, allocations: 0.7319 MB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.6212, allocations: 262.9 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6212, allocations: 0 / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/0.6213, allocations: 35.92 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6215, allocations: 16.25 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.6234, allocations: 1.858 MB / 1.175 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.6237, allocations: 0.6962 MB / 1.176 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.6237, allocations: 8.672 kB / 1.176 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.6238, allocations: 23.42 kB / 1.176 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of SimCode: time 3.176e-06/0.6238, allocations: 0 / 1.176 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.491/6.115, allocations: 3.023 MB / 1.179 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/19.38, allocations: 14.02 kB / 1.179 GB, free: 6 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches