Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.004306/0.004306, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001136/0.001137, allocations: 195.8 kB / 16.68 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.441/2.441, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2436, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002401/0.2461, allocations: 1.486 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.2468, allocations: 466.9 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.2468, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.836e-05/0.2469, allocations: 7.875 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.247, allocations: 15.86 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.2471, allocations: 31.95 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.2473, allocations: 103.8 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.2474, allocations: 16.16 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2475, allocations: 51.78 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.2476, allocations: 39.89 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.2476, allocations: 8 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.097e-05/0.2476, allocations: 8 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.2477, allocations: 23.91 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.2478, allocations: 39.8 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.2479, allocations: 79.97 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2479, allocations: 0 / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2479, allocations: 0 / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2479, allocations: 0 / 1.168 GB, free: 4.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000663/0.2486, allocations: 462.5 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2486, allocations: 8.031 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.2487, allocations: 34.75 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2487, allocations: 8.891 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.2489, allocations: 196.2 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.2489, allocations: 4.375 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2489, allocations: 8.375 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.2492, allocations: 117.5 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2492, allocations: 4 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2492, allocations: 4 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2493, allocations: 0 / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.2495, allocations: 87.92 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.25, allocations: 332.6 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.2504, allocations: 110.5 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.2505, allocations: 72.94 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.2506, allocations: 80 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.2509, allocations: 127.3 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2509, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0006822/0.2516, allocations: 279.1 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.2516, allocations: 89.05 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2517, allocations: 127.7 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2518, allocations: 33.7 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.2518, allocations: 100 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.2519, allocations: 15.91 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.2519, allocations: 33.66 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2521, allocations: 326.8 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2522, allocations: 59.95 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2524, allocations: 71.94 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.2528, allocations: 181.8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2528, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004912/0.2533, allocations: 257 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.2533, allocations: 67.39 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.2533, allocations: 0 / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2534, allocations: 4.25 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2535, allocations: 19.92 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2535, allocations: 4 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2536, allocations: 23.97 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.2537, allocations: 7.938 kB / 1.172 GB, free: 1.418 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 (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.0001165/0.2538, allocations: 151.5 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2538, allocations: 11.95 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.2539, allocations: 12.38 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2539, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2539, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2539, allocations: 4.094 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.254, allocations: 197.4 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.254, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.2541, allocations: 11.98 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2541, allocations: 4 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2542, allocations: 7.984 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2542, allocations: 0 / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2542, allocations: 4 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.2547, allocations: 254.5 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.2547, allocations: 85.06 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.2547, allocations: 0 / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2549, allocations: 19.97 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.255, allocations: 39.97 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.255, allocations: 4 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.701e-05/0.2551, allocations: 109.2 kB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2551, allocations: 0 / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002008/0.2553, allocations: 28 kB / 1.172 GB, free: 396 kB / 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,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.0007636/0.2561, allocations: 0.7819 MB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.2566, allocations: 266.7 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2566, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.2568, allocations: 143.4 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.257, allocations: 17.69 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.2593, allocations: 1.766 MB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2596, allocations: 0.6962 MB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.2596, allocations: 7.984 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.2597, allocations: 23.42 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2597, allocations: 96 / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8537/1.113, allocations: 3.024 MB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/9.753, allocations: 11.88 kB / 1.179 GB, free: 9.574 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches