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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 108 kB / 15.61 MB, free: 152 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.001207/0.001207, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.631/2.631, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 68.42 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2543, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001821/0.2561, allocations: 0.6923 MB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2575, allocations: 1.203 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.2576, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.2576, allocations: 3.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.2577, allocations: 11.92 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.2582, allocations: 229.3 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.2584, allocations: 187.7 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.2585, allocations: 4 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.2586, allocations: 75.88 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.2587, allocations: 47.88 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.2588, allocations: 16 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.2589, allocations: 35.97 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2589, allocations: 19.92 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.259, allocations: 59.81 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.2592, allocations: 147.9 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2592, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2592, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2592, allocations: 4 kB / 1.067 GB, free: 11.52 MB / 0.8262 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.0005031/0.2597, allocations: 434.7 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2597, allocations: 12.03 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.2598, allocations: 38.69 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.2599, allocations: 16.84 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.26, allocations: 168.3 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.26, allocations: 8.359 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.26, allocations: 8.375 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.2602, allocations: 57.61 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.2602, allocations: 3.938 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.2602, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.2602, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.2602, allocations: 12 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.2607, allocations: 372.6 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.2608, allocations: 42.48 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.2609, allocations: 12.86 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-06/0.2609, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.261, allocations: 99.3 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2611, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002588/0.2613, allocations: 121.6 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2614, allocations: 51.41 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.2615, allocations: 125.7 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.2615, allocations: 33.7 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.2616, allocations: 88.38 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2616, allocations: 19.8 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.2617, allocations: 53.67 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2618, allocations: 326.8 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.262, allocations: 63.95 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.2621, allocations: 102 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2623, allocations: 185.3 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2623, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004301/0.2628, allocations: 284.8 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.2628, allocations: 63.41 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2629, allocations: 8.156 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2629, allocations: 3.984 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.2629, allocations: 7.938 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.2629, allocations: 4 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2633, allocations: 64.09 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.2633, allocations: 15.98 kB / 1.07 GB, free: 8.344 MB / 0.8262 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 0.0001003/0.2634, allocations: 133.7 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.2634, allocations: 11.89 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.2635, allocations: 8.375 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2635, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.2635, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2635, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.2638, allocations: 354.5 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2638, allocations: 0 / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.2638, allocations: 7.984 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2638, allocations: 0 / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.2638, allocations: 4 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2638, allocations: 0 / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2639, allocations: 3.938 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.264, allocations: 195.4 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2641, allocations: 85.09 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2641, allocations: 0 / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.2642, allocations: 4 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.2642, allocations: 15.92 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2642, allocations: 4 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.2643, allocations: 91.27 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2643, allocations: 0 / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002561/0.2645, allocations: 32 kB / 1.07 GB, free: 7.305 MB / 0.8262 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.0004905/0.265, allocations: 0.7437 MB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.2654, allocations: 262.6 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2654, allocations: 0 / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.2655, allocations: 35.92 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2657, allocations: 24.36 kB / 1.071 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.2677, allocations: 1.853 MB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.268, allocations: 0.6885 MB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.268, allocations: 8.672 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2681, allocations: 24.42 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2681, allocations: 0 / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.873/2.141, allocations: 2.989 MB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/16.26, allocations: 15.3 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB (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) 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) Reference file matches