Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001763/0.001763, allocations: 112.1 kB / 16.41 MB, free: 6.449 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.001975/0.001975, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.523/1.523, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7171 GB, free: 4.219 MB / 0.5762 GB " [Timeout remaining time 177] 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 64.08 kB / 1.027 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8706, allocations: 151.6 MB / 1.175 GB, free: 17.67 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002572/0.8732, allocations: 1.531 MB / 1.176 GB, free: 16.61 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.8739, allocations: 449.2 kB / 1.177 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.874, allocations: 0 / 1.177 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.936e-05/0.8741, allocations: 9.953 kB / 1.177 GB, free: 16.29 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.8741, allocations: 14.88 kB / 1.177 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.8744, allocations: 30.58 kB / 1.177 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.8745, allocations: 89.48 kB / 1.177 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8747, allocations: 21.23 kB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.8748, allocations: 40.78 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.8749, allocations: 39.81 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.8749, allocations: 6.25 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.8749, allocations: 5.75 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.875, allocations: 19.73 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.8751, allocations: 30.66 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.8752, allocations: 75.03 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8752, allocations: 4 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8752, allocations: 0 / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8752, allocations: 0 / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006207/0.8759, allocations: 447.8 kB / 1.177 GB, free: 15.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8759, allocations: 10.78 kB / 1.177 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.876, allocations: 33.67 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.876, allocations: 10.66 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.8762, allocations: 189.9 kB / 1.178 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8762, allocations: 15.12 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.8762, allocations: 4.375 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.8765, allocations: 93.66 kB / 1.178 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8765, allocations: 0.7969 kB / 1.178 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.8765, allocations: 5.125 kB / 1.178 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8765, allocations: 9.234 kB / 1.178 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.8768, allocations: 70.98 kB / 1.178 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.8774, allocations: 340.3 kB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.8777, allocations: 80.55 kB / 1.178 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.8778, allocations: 53.73 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.8779, allocations: 1.125 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.8782, allocations: 114.1 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8782, allocations: 0 / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006471/0.8789, allocations: 214.5 kB / 1.179 GB, free: 14.79 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.8789, allocations: 80.97 kB / 1.179 GB, free: 14.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.879, allocations: 134.2 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.879, allocations: 27.05 kB / 1.179 GB, free: 14.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.8791, allocations: 93.31 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.8791, allocations: 25.25 kB / 1.179 GB, free: 14.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.8792, allocations: 25.28 kB / 1.179 GB, free: 14.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.8792, allocations: 327.9 kB / 1.179 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.8794, allocations: 49.25 kB / 1.179 GB, free: 14.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.8796, allocations: 46.42 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.8799, allocations: 162.1 kB / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8799, allocations: 0 / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000412/0.8803, allocations: 218.2 kB / 1.18 GB, free: 13.83 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.8804, allocations: 59.89 kB / 1.18 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8804, allocations: 5.188 kB / 1.18 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.8804, allocations: 0.7031 kB / 1.18 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.8805, allocations: 20.41 kB / 1.18 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8805, allocations: 0 / 1.18 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.8807, allocations: 30.34 kB / 1.18 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.8807, allocations: 8.156 kB / 1.18 GB, free: 13.74 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.516e-05/0.8808, allocations: 152.7 kB / 1.18 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.8808, allocations: 8.734 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.8809, allocations: 11.89 kB / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8809, allocations: 1.797 kB / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8809, allocations: 0 / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.8809, allocations: 4.641 kB / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.8814, allocations: 430.6 kB / 1.18 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8814, allocations: 0 / 1.18 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.8815, allocations: 21.8 kB / 1.18 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8815, allocations: 0 / 1.18 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.8815, allocations: 3.938 kB / 1.18 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8815, allocations: 3.938 kB / 1.18 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8815, allocations: 0 / 1.18 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.8819, allocations: 264.5 kB / 1.181 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.882, allocations: 88.23 kB / 1.181 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.882, allocations: 6.5 kB / 1.181 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.8821, allocations: 18.33 kB / 1.181 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.8823, allocations: 20.23 kB / 1.181 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.8823, allocations: 2.438 kB / 1.181 GB, free: 12.89 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.8823, allocations: 105.1 kB / 1.181 GB, free: 12.81 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8823, allocations: 0 / 1.181 GB, free: 12.81 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002516/0.8826, allocations: 25 kB / 1.181 GB, free: 12.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0006033/0.8832, allocations: 0.8072 MB / 1.182 GB, free: 12.08 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.8836, allocations: 223.9 kB / 1.182 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8837, allocations: 0 / 1.182 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.8839, allocations: 108.5 kB / 1.182 GB, free: 11.85 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.8842, allocations: 20.28 kB / 1.182 GB, free: 11.84 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.8861, allocations: 1.714 MB / 1.184 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.8863, allocations: 0.6951 MB / 1.184 GB, free: 9.754 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.433e-05/0.8863, allocations: 14.41 kB / 1.184 GB, free: 9.75 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.8864, allocations: 25.59 kB / 1.184 GB, free: 9.73 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.8864, allocations: 0 / 1.184 GB, free: 9.73 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.9134, allocations: 2.539 MB / 1.187 GB, free: 9.32 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/9.013, allocations: 9.156 kB / 1.187 GB, free: 9.312 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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: 14.873147242004052]