Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 106.5 kB / 15.99 MB, free: 5.895 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.001521/0.001521, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 482.4 MB / 0.755 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.05 kB / 0.924 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.295, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002859/0.2979, allocations: 1.543 MB / 1.084 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.2988, allocations: 459 kB / 1.084 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.2988, allocations: 4 kB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.055e-05/0.2989, allocations: 0 / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.26e-05/0.299, allocations: 15.84 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.2992, allocations: 31.97 kB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2994, allocations: 103.7 kB / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.2995, allocations: 12.17 kB / 1.085 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2997, allocations: 55.88 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.2998, allocations: 43.83 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.2998, allocations: 8 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.2998, allocations: 8 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.2999, allocations: 11.92 kB / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.2999, allocations: 39.86 kB / 1.085 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3001, allocations: 51.91 kB / 1.085 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3001, allocations: 3.938 kB / 1.085 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3001, allocations: 0 / 1.085 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3001, allocations: 0 / 1.085 GB, free: 11.22 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007486/0.3008, allocations: 462.7 kB / 1.085 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3009, allocations: 8.031 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.3009, allocations: 12.84 kB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3012, allocations: 192.2 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3012, allocations: 4.375 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3012, allocations: 4.375 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.3015, allocations: 117.8 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3016, allocations: 4 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3016, allocations: 0 / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3016, allocations: 4 kB / 1.086 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.3019, allocations: 87.86 kB / 1.086 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.3025, allocations: 336.7 kB / 1.086 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.3029, allocations: 106.5 kB / 1.086 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.3031, allocations: 68.94 kB / 1.086 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3031, allocations: 4 kB / 1.086 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.3035, allocations: 127.3 kB / 1.086 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3035, allocations: 0 / 1.086 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0007394/0.3042, allocations: 271.2 kB / 1.086 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.3043, allocations: 85.11 kB / 1.087 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3044, allocations: 132.6 kB / 1.087 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3045, allocations: 37.64 kB / 1.087 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.3045, allocations: 100 kB / 1.087 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3046, allocations: 15.75 kB / 1.087 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.3047, allocations: 29.72 kB / 1.087 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3048, allocations: 322.8 kB / 1.087 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.305, allocations: 71.89 kB / 1.087 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.3052, allocations: 71.92 kB / 1.087 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.3056, allocations: 181.9 kB / 1.087 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3056, allocations: 0 / 1.087 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000534/0.3061, allocations: 256.8 kB / 1.088 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.3062, allocations: 67.39 kB / 1.088 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3062, allocations: 0 / 1.088 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3062, allocations: 4 kB / 1.088 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3064, allocations: 15.98 kB / 1.088 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3064, allocations: 0 / 1.088 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3065, allocations: 23.91 kB / 1.088 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3066, allocations: 8 kB / 1.088 GB, free: 7.766 MB / 0.8419 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.000142/0.3067, allocations: 155.5 kB / 1.088 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3068, allocations: 7.906 kB / 1.088 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.3068, allocations: 16.38 kB / 1.088 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3068, allocations: 0 / 1.088 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3068, allocations: 256 / 1.088 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3068, allocations: 0 / 1.088 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.307, allocations: 205.6 kB / 1.088 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.307, allocations: 96 / 1.088 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3071, allocations: 19.86 kB / 1.088 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3071, allocations: 3.984 kB / 1.088 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3072, allocations: 7.984 kB / 1.088 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3072, allocations: 0 / 1.088 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3072, allocations: 4 kB / 1.088 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.3077, allocations: 246.6 kB / 1.088 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3078, allocations: 84.95 kB / 1.089 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3078, allocations: 4 kB / 1.089 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.308, allocations: 23.97 kB / 1.089 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.3081, allocations: 35.97 kB / 1.089 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3081, allocations: 7.984 kB / 1.089 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.3082, allocations: 99.27 kB / 1.089 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3082, allocations: 0 / 1.089 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002215/0.3084, allocations: 27.94 kB / 1.089 GB, free: 6.723 MB / 0.8419 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.0001138/0.3085, allocations: 103.2 kB / 1.089 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.3091, allocations: 266.7 kB / 1.089 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3091, allocations: 0 / 1.089 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3094, allocations: 143.3 kB / 1.089 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3096, allocations: 17.89 kB / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.3102, allocations: 261.1 kB / 1.089 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3105, allocations: 0.6885 MB / 1.09 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.3106, allocations: 11.44 kB / 1.09 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3106, allocations: 0 / 1.09 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of Templates: time 0.003516/0.3141, allocations: 1.448 MB / 1.092 GB, free: 3.703 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches