Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001085, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 198 kB / 16.79 MB, free: 6.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 77.8 kB / 0.8991 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002179/0.3225, allocations: 0.7651 MB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3235, allocations: 0.8663 MB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.3236, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.3236, allocations: 3.984 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.3238, allocations: 7.938 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.3239, allocations: 27.91 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.324, allocations: 43.86 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.3241, allocations: 8 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.3242, allocations: 19.86 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.3243, allocations: 19.92 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3243, allocations: 0 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.3243, allocations: 4 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.3243, allocations: 7.984 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.3244, allocations: 23.86 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.335e-05/0.3245, allocations: 27.94 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3245, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3245, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.3245, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005004/0.325, allocations: 363.6 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.325, allocations: 11.97 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.3251, allocations: 4.938 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3252, allocations: 172.2 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3252, allocations: 4.375 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3252, allocations: 4.375 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3255, allocations: 74.14 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3255, allocations: 4.125 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3255, allocations: 3.938 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3255, allocations: 8 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.3258, allocations: 59.94 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.3262, allocations: 265 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3264, allocations: 58.47 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3266, allocations: 36.92 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3266, allocations: 7.922 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3266, allocations: 38.56 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.3266, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005597/0.3272, allocations: 129.5 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3272, allocations: 51.41 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.3273, allocations: 105.8 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3274, allocations: 25.7 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.3274, allocations: 92.12 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3274, allocations: 7.812 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3275, allocations: 17.72 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3276, allocations: 314.8 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3278, allocations: 39.89 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3279, allocations: 27.97 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3282, allocations: 72.78 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3282, allocations: 3.938 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.3285, allocations: 93.62 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3286, allocations: 7.938 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3286, allocations: 3.984 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3286, allocations: 336 / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3287, allocations: 19.98 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3288, allocations: 0 / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.3288, allocations: 11.98 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3289, allocations: 7.938 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 7.906e-05/0.329, allocations: 113.8 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.329, allocations: 7.891 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.329, allocations: 11.89 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.329, allocations: 4 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.329, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3291, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3292, allocations: 169.6 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3292, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3293, allocations: 15.97 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3293, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3294, allocations: 4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3294, allocations: 3.938 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3294, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.3297, allocations: 191.4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.3298, allocations: 88.89 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3298, allocations: 11.98 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3299, allocations: 11.98 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.33, allocations: 8 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.33, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.33, allocations: 99.55 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3301, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002179/0.3303, allocations: 4 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001446/0.3304, allocations: 99.25 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.3308, allocations: 71.92 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3308, allocations: 0 / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3309, allocations: 39.89 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3312, allocations: 11.94 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3316, allocations: 164.8 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3319, allocations: 0.6809 MB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.3319, allocations: 11.44 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3319, allocations: 0 / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of Templates: time 0.00212/0.334, allocations: 0.7321 MB / 1.059 GB, free: 1.402 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches