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.001596/0.001597, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.001814/0.001814, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.17 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.194/2.194, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 61.17 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2754, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001966/0.2774, allocations: 0.8211 MB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.2783, allocations: 0.8663 MB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.2784, allocations: 3.938 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.045e-05/0.2785, allocations: 3.938 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.2785, allocations: 19.8 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.2786, allocations: 39.94 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.2788, allocations: 135.6 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2789, allocations: 24 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.279, allocations: 55.83 kB / 0.9531 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.2791, allocations: 59.8 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.2791, allocations: 12 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.2792, allocations: 15.94 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.2792, allocations: 19.98 kB / 0.9532 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.2793, allocations: 55.72 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.2794, allocations: 131.5 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2794, allocations: 3.938 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2795, allocations: 0 / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2795, allocations: 0 / 0.9533 GB, free: 5.801 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.0007151/0.2802, allocations: 477.7 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2802, allocations: 12.03 kB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.2803, allocations: 12.75 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.2804, allocations: 200.1 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2805, allocations: 8.359 kB / 0.954 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2805, allocations: 4.375 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.281, allocations: 190.1 kB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.281, allocations: 192 / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.281, allocations: 11.94 kB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.281, allocations: 0 / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.2817, allocations: 207.7 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.2824, allocations: 404.5 kB / 0.9548 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.2828, allocations: 166.4 kB / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.2832, allocations: 156.9 kB / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2832, allocations: 0 / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2832, allocations: 42.5 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2832, allocations: 0 / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.001236/0.2845, allocations: 459 kB / 0.9556 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.2846, allocations: 89.09 kB / 0.9557 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2847, allocations: 145.5 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2847, allocations: 25.7 kB / 0.9558 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.2848, allocations: 104.1 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.2848, allocations: 23.66 kB / 0.956 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.2849, allocations: 29.7 kB / 0.956 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.285, allocations: 322.8 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.2853, allocations: 127.9 kB / 0.9564 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.2857, allocations: 123.9 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006261/0.2863, allocations: 240.1 kB / 0.9568 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2863, allocations: 0 / 0.9568 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007834/0.2871, allocations: 339.5 kB / 0.9571 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.2872, allocations: 33.7 kB / 0.9571 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2872, allocations: 0 / 0.9571 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2872, allocations: 64 / 0.9571 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2874, allocations: 47.89 kB / 0.9572 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2874, allocations: 7.984 kB / 0.9572 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.2876, allocations: 35.89 kB / 0.9572 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2877, allocations: 4 kB / 0.9572 GB, free: 1.566 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.0001114/0.2878, allocations: 157.4 kB / 0.9574 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.2878, allocations: 15.91 kB / 0.9574 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.2879, allocations: 16.72 kB / 0.9574 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2879, allocations: 0 / 0.9574 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2879, allocations: 0 / 0.9574 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2879, allocations: 0 / 0.9574 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.2881, allocations: 217.4 kB / 0.9576 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2881, allocations: 0 / 0.9576 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2883, allocations: 35.95 kB / 0.9576 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2883, allocations: 0 / 0.9576 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.2883, allocations: 16.09 kB / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2883, allocations: 3.938 kB / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2883, allocations: 3.984 kB / 0.9577 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.2892, allocations: 444.8 kB / 0.9581 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.2892, allocations: 85.02 kB / 0.9582 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2892, allocations: 4 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2895, allocations: 35.95 kB / 0.9582 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.2897, allocations: 83.89 kB / 0.9583 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2897, allocations: 4 kB / 0.9583 GB, free: 372 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.2898, allocations: 108.9 kB / 0.9584 GB, free: 264 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2898, allocations: 7.938 kB / 0.9584 GB, free: 256 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002478/0.29, allocations: 20 kB / 0.9584 GB, free: 236 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.0001182/0.2901, allocations: 111.2 kB / 0.9585 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.291, allocations: 351 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.291, allocations: 0 / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.2915, 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.0002985/0.2918, allocations: 24.25 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.0005968/0.2924, allocations: 349.8 kB / 0.9594 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.2927, allocations: 0.7041 MB / 0.9601 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.186e-05/0.2927, allocations: 11.98 kB / 0.9601 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.2928, allocations: 15.44 kB / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.2928, allocations: 0 / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.005479/0.2983, allocations: 2.929 MB / 0.963 GB, free: 11.47 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 cvode -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