Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.1.|numReq1.u.2.|numReq1.u.3.|numReq1.u.4.|numReq1.u.5.|numReq1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.1.|numReq1.u.2.|numReq1.u.3.|numReq1.u.4.|numReq1.u.5.|numReq1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 108.7 kB / 16.37 MB, free: 6.473 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.001722/0.001722, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.55 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2211, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.002017/0.2231, allocations: 0.825 MB / 0.952 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.2241, allocations: 0.8624 MB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.2242, allocations: 3.938 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.763e-05/0.2243, allocations: 3.938 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.2243, allocations: 27.78 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.2245, allocations: 31.95 kB / 0.9529 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.2246, allocations: 139.6 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2248, allocations: 23.98 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.2249, allocations: 55.89 kB / 0.9531 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.225, allocations: 59.75 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.225, allocations: 12 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.225, allocations: 12 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.2251, allocations: 19.92 kB / 0.9532 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.2251, allocations: 51.72 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.2253, allocations: 135.5 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2253, allocations: 0 / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2253, allocations: 4 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2253, allocations: 0 / 0.9533 GB, free: 5.789 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007347/0.2261, allocations: 472.7 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2261, allocations: 12.03 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.2261, allocations: 12.75 kB / 0.9538 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.2263, allocations: 205.9 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2263, allocations: 8.375 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.2264, allocations: 4.375 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2269, allocations: 190 kB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2269, allocations: 192 / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.2269, allocations: 11.88 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2269, allocations: 4 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.2276, allocations: 203.8 kB / 0.9544 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.2284, allocations: 404.5 kB / 0.9548 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.2288, allocations: 170.4 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.2292, allocations: 148.9 kB / 0.9551 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2292, allocations: 3.984 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2292, allocations: 42.5 kB / 0.9552 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.2293, allocations: 0 / 0.9552 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.001243/0.2305, allocations: 463 kB / 0.9556 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2306, allocations: 81.11 kB / 0.9557 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.2307, allocations: 147.5 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2307, allocations: 29.64 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.2308, allocations: 104.1 kB / 0.9559 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.2308, allocations: 19.72 kB / 0.956 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.2309, allocations: 29.72 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.231, allocations: 322.8 kB / 0.9563 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.2314, allocations: 123.9 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.2317, allocations: 131.9 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.2324, allocations: 240.4 kB / 0.9568 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2324, allocations: 0 / 0.9568 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008139/0.2332, allocations: 335.1 kB / 0.9571 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.2333, allocations: 41.69 kB / 0.9571 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2333, allocations: 0 / 0.9571 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2333, allocations: 112 / 0.9571 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2335, allocations: 39.83 kB / 0.9572 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2335, allocations: 4 kB / 0.9572 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.2338, allocations: 43.89 kB / 0.9572 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.2338, allocations: 4 kB / 0.9572 GB, free: 1.551 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: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001159/0.2339, allocations: 157.4 kB / 0.9574 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.234, allocations: 15.89 kB / 0.9574 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.234, allocations: 16.7 kB / 0.9574 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.234, allocations: 0 / 0.9574 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.234, allocations: 0 / 0.9574 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.234, allocations: 4 kB / 0.9574 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.2342, allocations: 217.4 kB / 0.9576 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2342, allocations: 3.984 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.2344, allocations: 35.95 kB / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2344, allocations: 0 / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.2345, allocations: 4 kB / 0.9577 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2345, allocations: 0 / 0.9577 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2345, allocations: 0 / 0.9577 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008669/0.2353, allocations: 444.8 kB / 0.9581 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.2354, allocations: 85.02 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2354, allocations: 8 kB / 0.9582 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.2357, allocations: 40.06 kB / 0.9582 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.2359, allocations: 79.91 kB / 0.9583 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2359, allocations: 4 kB / 0.9583 GB, free: 364 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.236, allocations: 109.3 kB / 0.9584 GB, free: 256 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.236, allocations: 7.938 kB / 0.9584 GB, free: 248 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00025/0.2362, allocations: 28 kB / 0.9584 GB, free: 220 kB / 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: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001169/0.2364, allocations: 103.2 kB / 0.9585 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008519/0.2372, allocations: 351 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2372, allocations: 0 / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.2377, allocations: 223.3 kB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.238, allocations: 19.98 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.2386, allocations: 353.8 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2389, allocations: 0.6924 MB / 0.9601 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.549e-05/0.2389, allocations: 19.97 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.239, allocations: 19.44 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of SimCode: time 1.573e-06/0.239, allocations: 3.938 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of Templates: time 0.005632/0.2446, allocations: 2.932 MB / 0.963 GB, free: 11.45 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches