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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001444/0.001444, allocations: 111.6 kB / 16.42 MB, free: 6.508 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.001538/0.001538, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9122/0.9136, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.004506/0.9181, allocations: 1.471 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.9194, allocations: 462.9 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.9196, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.9197, allocations: 7.875 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.748e-05/0.9199, allocations: 15.86 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.9203, allocations: 31.95 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.9205, allocations: 115.7 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.9207, allocations: 8.188 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.9209, allocations: 51.81 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.921, allocations: 43.83 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.921, allocations: 8 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.9211, allocations: 12 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.9211, allocations: 8 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.829e-05/0.9212, allocations: 47.77 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.9215, allocations: 71.78 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9215, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9215, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.9215, allocations: 3.938 kB / 1.21 GB, free: 11.32 MB / 0.9356 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.0007906/0.9223, allocations: 456.3 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9223, allocations: 12.03 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.9224, allocations: 4.938 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.9226, allocations: 196.1 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.9227, allocations: 8.375 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.9227, allocations: 12.31 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.923, allocations: 113.8 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9231, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.9231, allocations: 7.984 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.9231, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.9234, allocations: 91.92 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.924, allocations: 324.7 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.9243, allocations: 118.4 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.9245, allocations: 72.94 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.9246, allocations: 0 / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.9249, allocations: 119.3 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 4.688e-06/0.925, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0008075/0.9258, allocations: 291 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.9258, allocations: 81.11 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.926, allocations: 128.1 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.926, allocations: 29.7 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.9261, allocations: 96.05 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.9262, allocations: 23.86 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.9263, allocations: 29.72 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9264, allocations: 322.8 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.9266, allocations: 67.95 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.9268, allocations: 59.95 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.9272, allocations: 190 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9272, allocations: 7.875 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004898/0.9277, allocations: 252.9 kB / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.9277, allocations: 67.39 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.9277, allocations: 0 / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.9278, allocations: 4 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.9279, allocations: 11.98 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.9279, allocations: 0 / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.9281, allocations: 35.84 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.9281, allocations: 4 kB / 1.214 GB, free: 7.863 MB / 0.9356 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.0001402/0.9282, allocations: 159.5 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.9283, allocations: 7.906 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.9283, allocations: 12.38 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9283, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9283, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.9284, allocations: 89.02 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.9284, allocations: 3.938 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.9286, allocations: 19.97 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.9287, allocations: 39.95 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000573/0.9293, allocations: 350 kB / 1.214 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000551/0.9298, allocations: 400.6 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002052/0.9301, allocations: 79.94 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.9301, allocations: 105.9 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of Backend: time 3.51e-07/0.9301, allocations: 0 / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005948/0.9307, allocations: 287.4 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006839/0.9314, allocations: 0.6747 MB / 1.216 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of Templates: time 0.004927/0.9364, allocations: 2.036 MB / 1.218 GB, free: 3.473 MB / 0.9356 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=480 -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) "" Variables in the reference:time,numReq.u[1],numReq.u[2],numReq.y Variables in the result:numReq.kind,numReq.nin,numReq.threShold,numReq.u[1],numReq.u[2],numReq.y,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time