Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001205/0.001205, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001415/0.001415, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 436.5 MB / 0.7104 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003988, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7709, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.001148/0.7722, allocations: 0.524 MB / 1.021 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.7732, allocations: 0.8547 MB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.7733, allocations: 7.938 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.801e-05/0.7734, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.7735, allocations: 19.95 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.7736, allocations: 27.97 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.7737, allocations: 67.86 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.7738, allocations: 27.95 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.7739, allocations: 43.83 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.774, allocations: 59.75 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.7741, allocations: 4 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.7741, allocations: 4 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.7741, allocations: 19.92 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.7742, allocations: 41.64 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.7743, allocations: 85.77 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.7743, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7744, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.7744, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 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.0008793/0.7753, allocations: 490.3 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7753, allocations: 12.03 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.7754, allocations: 15.8 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.7756, allocations: 198.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7756, allocations: 7.984 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.7757, allocations: 8 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.7762, allocations: 221.4 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7762, allocations: 4 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.7763, allocations: 8 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7763, allocations: 0 / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.777, allocations: 259.8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.7779, allocations: 432.6 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.7783, allocations: 198.4 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.7784, allocations: 3.984 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.7784, allocations: 34.56 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.7784, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.001414/0.7798, allocations: 0.5304 MB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.7799, allocations: 89.05 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.78, allocations: 149.1 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.7801, allocations: 25.7 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.7801, allocations: 96.14 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.7802, allocations: 27.64 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.7802, allocations: 4 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7803, allocations: 322.8 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.7807, allocations: 155.9 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.7811, allocations: 151.9 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.7815, allocations: 145.6 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7815, allocations: 0 / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009173/0.7824, allocations: 395.1 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.7825, allocations: 37.7 kB / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7825, allocations: 0 / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.7825, allocations: 0 / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.7828, allocations: 52 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7828, allocations: 11.88 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.783, allocations: 51.94 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.7831, allocations: 12 kB / 1.027 GB, free: 10.99 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.7832, allocations: 151.5 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.7832, allocations: 15.89 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.7833, allocations: 8.719 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.7833, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7833, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7833, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.7835, allocations: 213.4 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7835, allocations: 448 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.7837, allocations: 55.95 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7837, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.7838, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7838, allocations: 4 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7838, allocations: 4 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.7847, allocations: 488.9 kB / 1.027 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.7848, allocations: 96.89 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.7848, allocations: 4 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.785, allocations: 55.95 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.7853, allocations: 79.89 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.7853, allocations: 4 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.667e-05/0.7854, allocations: 111.9 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7854, allocations: 0 / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002472/0.7856, allocations: 28 kB / 1.028 GB, free: 9.578 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.7858, allocations: 101.3 kB / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009383/0.7867, allocations: 403.1 kB / 1.028 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7868, allocations: 0 / 1.028 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.7873, allocations: 251.3 kB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.7875, allocations: 15.98 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.7881, allocations: 361.1 kB / 1.029 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.7884, allocations: 0.7004 MB / 1.03 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.193e-05/0.7885, allocations: 16.17 kB / 1.03 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.7885, allocations: 7.438 kB / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7885, allocations: 0 / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.004785/0.7933, allocations: 2.175 MB / 1.032 GB, free: 5.516 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches