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.0009872/0.0009872, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001063/0.001063, allocations: 168.7 kB / 15.95 MB, free: 204 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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.104/3.104, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 12.75 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3592, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.0008513/0.3601, allocations: 424.6 kB / 1.058 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.361, allocations: 0.8625 MB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.3611, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.3611, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.3612, allocations: 7.938 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.3614, allocations: 23.97 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.3614, allocations: 35.86 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.3615, allocations: 4 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.3616, allocations: 15.98 kB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.3617, allocations: 19.91 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3617, allocations: 0 / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.3617, allocations: 4 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.3617, allocations: 3.938 kB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.3618, allocations: 33.7 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.889e-05/0.3618, allocations: 27.94 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3618, allocations: 0 / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3618, allocations: 0 / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3619, allocations: 3.938 kB / 1.059 GB, free: 3.824 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.0004799/0.3623, allocations: 371.4 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3624, allocations: 12.03 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.3624, allocations: 4 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3625, allocations: 174.9 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3626, allocations: 4 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3626, allocations: 3.953 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.3628, allocations: 81.66 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3629, allocations: 3.938 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3629, allocations: 0 / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3629, allocations: 0 / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.3632, allocations: 87.92 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.3635, allocations: 280.8 kB / 1.06 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3637, allocations: 66.53 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3639, allocations: 48.92 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3639, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.364, allocations: 34.56 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.364, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005328/0.3645, allocations: 161.5 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.3646, allocations: 59.41 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.3647, allocations: 105.8 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3647, allocations: 25.7 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.3648, allocations: 92.05 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3648, allocations: 7.891 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.3648, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3649, allocations: 318.8 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3651, allocations: 47.95 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3652, allocations: 39.97 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3653, allocations: 43.97 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3654, allocations: 0 / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003083/0.3657, allocations: 117.6 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3657, allocations: 11.94 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3657, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3657, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3658, allocations: 23.98 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3659, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.3659, allocations: 15.98 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3659, allocations: 336 / 1.062 GB, free: 1.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.366, allocations: 125.8 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3661, allocations: 3.906 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.3661, allocations: 3.906 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3661, allocations: 7.984 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3661, allocations: 3.938 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3661, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3663, allocations: 173.5 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3663, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3664, allocations: 27.97 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3664, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3664, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3664, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3664, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3668, allocations: 215.4 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.3669, allocations: 96.89 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3669, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.367, allocations: 19.98 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.367, allocations: 3.984 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.3671, allocations: 8 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.3671, allocations: 79.28 kB / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3671, allocations: 0 / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002262/0.3673, allocations: 8 kB / 1.062 GB, free: 0.5508 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 (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.0001337/0.3675, allocations: 99.25 kB / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3678, allocations: 95.92 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3678, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.368, allocations: 47.89 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.3683, allocations: 4 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.3686, allocations: 140.5 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3689, allocations: 0.6809 MB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.3689, allocations: 0 / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.369, allocations: 7.438 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.369, allocations: 3.938 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.002563/0.3715, allocations: 0.5731 MB / 1.064 GB, free: 14.86 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