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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.000866/0.0008659, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006567/0.006567, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.949/2.949, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 13.97 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001352/0.3406, allocations: 444.4 kB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.342, allocations: 0.8702 MB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.3421, allocations: 3.938 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.3421, allocations: 0 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.3423, allocations: 3.938 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.3425, allocations: 19.97 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.3426, allocations: 43.8 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3428, allocations: 15.98 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.3429, allocations: 15.98 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.3429, allocations: 19.86 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.343, allocations: 4 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.343, allocations: 0 / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.343, allocations: 0 / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.3431, allocations: 41.62 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.3432, allocations: 39.8 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3432, allocations: 0 / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3432, allocations: 0 / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3432, allocations: 0 / 1.06 GB, free: 3.945 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.0005992/0.3438, allocations: 375.6 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3439, allocations: 8.031 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3439, allocations: 4.938 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3441, allocations: 168.2 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3441, allocations: 12.31 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.3441, allocations: 4.375 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3444, allocations: 78.2 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3445, allocations: 192 / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.3445, allocations: 7.938 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3445, allocations: 0 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.3448, allocations: 91.92 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.3452, allocations: 253 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.3455, allocations: 78.41 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3456, allocations: 52.91 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3457, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3457, allocations: 34.56 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.3457, allocations: 0 / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005868/0.3463, allocations: 161.5 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3464, allocations: 63.34 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.3465, allocations: 105.8 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3465, allocations: 25.7 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.3466, allocations: 96.12 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3466, allocations: 7.891 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.3466, allocations: 9.719 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3467, allocations: 318.8 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3469, allocations: 43.95 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.3471, allocations: 43.91 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.3474, allocations: 92.78 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3474, allocations: 3.938 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003349/0.3477, allocations: 129.4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3477, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3478, allocations: 4 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3478, allocations: 3.984 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3479, allocations: 19.98 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3479, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.348, allocations: 15.98 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.348, allocations: 0 / 1.062 GB, free: 1.449 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 8.226e-05/0.3481, allocations: 123.3 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3481, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.3482, allocations: 11.89 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3482, allocations: 0 / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3482, allocations: 0 / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3482, allocations: 4 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3484, allocations: 169.6 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3484, allocations: 0 / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.654e-05/0.3485, allocations: 23.98 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3485, allocations: 3.984 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3485, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3485, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3485, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.3489, allocations: 223.3 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.3489, allocations: 85.05 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3489, allocations: 0 / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3491, allocations: 23.97 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.3491, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3491, allocations: 4 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.3492, allocations: 87.27 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3492, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002078/0.3494, allocations: 8 kB / 1.063 GB, free: 0.6016 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.0001726/0.3496, allocations: 103.2 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3499, allocations: 95.86 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3499, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3501, allocations: 47.95 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3504, allocations: 12.5 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.3508, allocations: 140.4 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3511, allocations: 0.6848 MB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.3511, allocations: 3.984 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.3512, allocations: 15.44 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3512, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.00313/0.3543, allocations: 0.5831 MB / 1.065 GB, free: 14.87 MB / 0.8262 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/jenkins/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