Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: 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_11_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_11_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.001636/0.001636, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.001561/0.001561, allocations: 194 kB / 16.91 MB, free: 6.191 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.452/1.452, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 64.62 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3419, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003/0.3449, allocations: 1.548 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.3458, allocations: 455 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.3458, allocations: 3.938 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.346, allocations: 3.984 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.346, allocations: 19.86 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3462, allocations: 23.97 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.3464, allocations: 103.8 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3466, allocations: 24.09 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3467, allocations: 39.91 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.3468, allocations: 39.83 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.3468, allocations: 8 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.145e-05/0.3469, allocations: 8 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.3469, allocations: 15.92 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.347, allocations: 43.84 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3471, allocations: 55.91 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3471, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3471, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3471, allocations: 3.938 kB / 1.066 GB, free: 12.73 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.0007941/0.3479, allocations: 458.8 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.348, allocations: 8.031 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.3481, allocations: 12.84 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3483, allocations: 192.2 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3483, allocations: 8.375 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.3483, allocations: 12.36 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.3486, allocations: 113.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3487, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3487, allocations: 4 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3487, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.349, allocations: 99.86 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.3496, allocations: 328.7 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.3499, allocations: 102.5 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.3501, allocations: 72.94 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.3502, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.3506, allocations: 127.2 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3506, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0007465/0.3513, allocations: 271.2 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.3514, allocations: 89.09 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3515, allocations: 127.1 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3516, allocations: 29.7 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.3517, allocations: 100 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3517, allocations: 23.81 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.3518, allocations: 25.7 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3519, allocations: 330.8 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.3521, allocations: 63.95 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.3523, allocations: 67.89 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3527, allocations: 182 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3527, allocations: 3.938 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005172/0.3532, allocations: 264.8 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.595e-05/0.3533, allocations: 63.41 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3533, allocations: 256 / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3533, allocations: 3.984 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3534, allocations: 15.98 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3535, allocations: 4 kB / 1.07 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3536, allocations: 23.92 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3537, allocations: 11.98 kB / 1.07 GB, free: 9.258 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.0001512/0.3538, allocations: 151.5 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3538, allocations: 11.91 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.3539, allocations: 8.359 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3539, allocations: 4 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3539, allocations: 0 / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3539, allocations: 0 / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.3541, allocations: 197.5 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3541, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.3542, allocations: 11.98 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3542, allocations: 3.938 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3542, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3542, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3542, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.3548, allocations: 246.6 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.3548, allocations: 88.95 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3549, allocations: 11.98 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.355, allocations: 15.98 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.3551, allocations: 31.95 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3552, allocations: 8 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.852e-05/0.3552, allocations: 97.23 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3552, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002176/0.3555, allocations: 35.94 kB / 1.07 GB, free: 8.238 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.0001235/0.3556, allocations: 103.3 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.3562, allocations: 270.7 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3562, allocations: 4 kB / 1.071 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.3564, allocations: 139.3 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3567, allocations: 23.92 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.3572, allocations: 249.1 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3576, allocations: 0.6963 MB / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.3577, allocations: 11.44 kB / 1.072 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3577, allocations: 0 / 1.072 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of Templates: time 0.003418/0.3611, allocations: 1.459 MB / 1.073 GB, free: 5.207 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches