Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001485/0.001485, allocations: 105.7 kB / 16.27 MB, free: 6.418 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.001579/0.001579, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.39 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3, allocations: 140.4 MB / 0.9503 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00489/0.3049, allocations: 1.488 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3064, allocations: 462.9 kB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.3065, allocations: 0 / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.3067, allocations: 7.938 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3069, allocations: 15.86 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.3072, allocations: 35.89 kB / 0.9522 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.3075, allocations: 99.77 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3077, allocations: 24.16 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.3079, allocations: 43.83 kB / 0.9524 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.3081, allocations: 43.83 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.3082, allocations: 8 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.3082, allocations: 8 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.3083, allocations: 11.98 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.903e-05/0.3084, allocations: 43.73 kB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3087, allocations: 87.75 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3087, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3087, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.475e-06/0.3087, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7325 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.001128/0.3099, allocations: 452.2 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.3099, allocations: 8.031 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.31, allocations: 12.84 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3103, allocations: 192.1 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3104, allocations: 12.38 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.3104, allocations: 4.375 kB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.311, allocations: 121.7 kB / 0.9533 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.311, allocations: 4 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.311, allocations: 0 / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.311, allocations: 0 / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.3116, allocations: 87.92 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.3125, allocations: 332.7 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.313, allocations: 106.5 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.3134, allocations: 72.94 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3134, allocations: 0 / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.314, allocations: 131.3 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.866e-06/0.314, allocations: 0 / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.001278/0.3153, allocations: 275.1 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.3154, allocations: 85.09 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3156, allocations: 125.8 kB / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3157, allocations: 29.7 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.3158, allocations: 92.12 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.3159, allocations: 19.75 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.316, allocations: 33.64 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3162, allocations: 330.8 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.3166, allocations: 63.95 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.3169, allocations: 63.95 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.3176, allocations: 189.9 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3176, allocations: 0 / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009969/0.3187, allocations: 264.9 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.642e-05/0.3188, allocations: 63.41 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.3188, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3188, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3191, allocations: 19.91 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3191, allocations: 4 kB / 0.9556 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.3194, allocations: 23.89 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.3195, allocations: 8 kB / 0.9556 GB, free: 3.098 MB / 0.7325 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.0002041/0.3197, allocations: 157.4 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.3197, allocations: 8 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.3198, allocations: 8.375 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3198, allocations: 8.234 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3198, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3199, allocations: 4 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3201, allocations: 193.5 kB / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3202, allocations: 4 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3203, allocations: 15.98 kB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3203, allocations: 0 / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3204, allocations: 0 / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.3204, allocations: 4 kB / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3204, allocations: 0 / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.3213, allocations: 250.5 kB / 0.9563 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.3214, allocations: 85.05 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.3214, allocations: 8 kB / 0.9564 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.3217, allocations: 19.97 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.3219, allocations: 39.94 kB / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.322, allocations: 4 kB / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001257/0.3221, allocations: 101.7 kB / 0.9565 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3221, allocations: 0 / 0.9565 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004378/0.3226, allocations: 27.94 kB / 0.9565 GB, free: 2.074 MB / 0.7325 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.0001755/0.3228, allocations: 107.2 kB / 0.9566 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000932/0.3237, allocations: 270.6 kB / 0.9569 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3237, allocations: 3.938 kB / 0.9569 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.3242, allocations: 135.4 kB / 0.957 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3246, allocations: 19.98 kB / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3256, allocations: 240.9 kB / 0.9573 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.3261, allocations: 0.7 MB / 0.958 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/0.3262, allocations: 11.44 kB / 0.958 GB, free: 500 kB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/0.3263, allocations: 0 / 0.958 GB, free: 500 kB / 0.7325 GB Notification: Performance of Templates: time 0.005915/0.3322, allocations: 1.421 MB / 0.9594 GB, free: 15.06 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches