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: 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_10_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_10_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.001372/0.001372, allocations: 113.6 kB / 16.42 MB, free: 6.465 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.001509/0.001509, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.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.49/2.49, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.88 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8095/0.8108, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002615/0.8135, allocations: 1.485 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.8144, allocations: 473.3 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.8144, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.994e-05/0.8145, allocations: 3.938 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.8146, allocations: 15.86 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.8148, allocations: 39.88 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.815, allocations: 95.77 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.8151, allocations: 16.17 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.8152, allocations: 51.84 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.8153, allocations: 43.81 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.8153, allocations: 8 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.8154, allocations: 8 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.8154, allocations: 15.98 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.8155, allocations: 39.8 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.8156, allocations: 79.75 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8156, allocations: 0 / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8157, allocations: 0 / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.8157, allocations: 0 / 1.17 GB, free: 1.512 MB / 0.8887 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.0007351/0.8164, allocations: 452.3 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.8164, allocations: 8.922 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.8165, allocations: 8.922 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.8167, allocations: 192.1 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.8167, allocations: 8.375 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.8167, allocations: 12.38 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.8171, allocations: 117.7 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8171, allocations: 0 / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8171, allocations: 0 / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8171, allocations: 4 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.8174, allocations: 83.92 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.818, allocations: 344.6 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.8183, allocations: 102.5 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.8185, allocations: 72.98 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.8185, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.8189, allocations: 127.2 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.8189, allocations: 7.875 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.000711/0.8196, allocations: 271.2 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.8197, allocations: 89.09 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.8198, allocations: 128.8 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.8198, allocations: 29.7 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.8199, allocations: 100 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.8199, allocations: 11.81 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.82, allocations: 33.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.8201, allocations: 322.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.8203, allocations: 67.95 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.8205, allocations: 63.95 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.8209, allocations: 185.8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8209, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004952/0.8214, allocations: 264.8 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.8214, allocations: 65.75 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8215, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8215, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.8216, allocations: 19.97 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.8216, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.8218, allocations: 19.92 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.8218, allocations: 4 kB / 1.173 GB, free: 14.07 MB / 0.9044 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.0001761/0.822, allocations: 163.5 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.822, allocations: 7.906 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.822, allocations: 16.36 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8221, allocations: 352 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8221, allocations: 3.938 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.8221, allocations: 89 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.8222, allocations: 11.94 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.8223, allocations: 19.97 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.8224, allocations: 39.97 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000607/0.8231, allocations: 362 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005399/0.8236, allocations: 392.3 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002206/0.8238, allocations: 75.95 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.583e-05/0.8239, allocations: 99.2 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of Backend: time 2.9e-07/0.8239, allocations: 0 / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006124/0.8245, allocations: 287.3 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005961/0.8251, allocations: 0.6747 MB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of Templates: time 0.005223/0.8304, allocations: 2.044 MB / 1.177 GB, free: 9.672 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (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 & ./Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) "" 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