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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001966/0.001966, allocations: 63.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7939, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001566/0.7954, allocations: 0.6972 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.7966, allocations: 1.204 MB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.7966, allocations: 0.6562 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.7966, allocations: 5.203 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.7967, allocations: 15.78 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.7972, allocations: 222.3 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.7974, allocations: 183.5 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.7975, allocations: 13.7 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.7976, allocations: 64.56 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.7977, allocations: 68.77 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.7978, allocations: 15.09 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.7978, allocations: 28.66 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.7979, allocations: 13.91 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.7979, allocations: 53.34 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.7981, allocations: 168.1 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7981, allocations: 0 / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7981, allocations: 4.875 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.7981, allocations: 0 / 1.274 GB, free: 6.035 MB / 0.9981 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.0003832/0.7985, allocations: 431.6 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.7985, allocations: 8.969 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.7986, allocations: 38.78 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.7986, allocations: 11.86 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.7987, allocations: 173 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.7987, allocations: 6.109 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.7987, allocations: 12.97 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.7988, allocations: 57.03 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.7988, allocations: 3.938 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.7988, allocations: 4.969 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.7988, allocations: 1.094 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.7989, allocations: 13.44 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.7993, allocations: 352.9 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.7993, allocations: 35.88 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.7994, allocations: 22.88 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-06/0.7994, allocations: 3.938 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.7995, allocations: 95.48 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.7995, allocations: 0 / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002479/0.7998, allocations: 124.4 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.7998, allocations: 61.55 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.7999, allocations: 117.6 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7999, allocations: 34.27 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.7999, allocations: 93.88 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.7999, allocations: 21.02 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.8, allocations: 54.22 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.8001, allocations: 324.2 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.8002, allocations: 59.75 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.8003, allocations: 113.6 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.8005, allocations: 179.3 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8005, allocations: 4.844 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000396/0.8009, allocations: 288.9 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.8009, allocations: 67.61 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8009, allocations: 1.906 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.801, allocations: 2.469 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.163e-05/0.801, allocations: 6.094 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.801, allocations: 3.641 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.8013, allocations: 60.27 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.8013, allocations: 16.88 kB / 1.277 GB, free: 3.637 MB / 0.9981 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 6.96e-05/0.8014, allocations: 130 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.8014, allocations: 7.594 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.8014, allocations: 6.531 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.8014, allocations: 5.188 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8015, allocations: 5.359 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8015, allocations: 1.656 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.8017, allocations: 363.3 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8017, allocations: 3.938 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.8017, allocations: 2.156 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.8017, allocations: 0 / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.8017, allocations: 6.578 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8017, allocations: 4.656 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8017, allocations: 1.125 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.8019, allocations: 198 kB / 1.278 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.8019, allocations: 83.45 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.8019, allocations: 2.766 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.802, allocations: 7.391 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.802, allocations: 8.578 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.802, allocations: 7.75 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.802, allocations: 93.12 kB / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.802, allocations: 0 / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002655/0.8023, allocations: 32.69 kB / 1.278 GB, free: 2.797 MB / 0.9981 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.0003213/0.8026, allocations: 0.738 MB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.8029, allocations: 232.1 kB / 1.279 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8029, allocations: 4.312 kB / 1.279 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.803, allocations: 27.52 kB / 1.279 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.8033, allocations: 25.42 kB / 1.279 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.8055, allocations: 1.868 MB / 1.281 GB, free: 16.37 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.8058, allocations: 0.6911 MB / 1.281 GB, free: 15.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.8059, allocations: 7.703 kB / 1.281 GB, free: 15.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.8059, allocations: 25.2 kB / 1.281 GB, free: 15.65 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.8059, allocations: 0 / 1.281 GB, free: 15.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.8319, allocations: 3.014 MB / 1.284 GB, free: 15.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/7.661, allocations: 15.7 kB / 1.284 GB, free: 15.16 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.910755624999183]