Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_10_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_10_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.008113/0.008113, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001544/0.001544, allocations: 193.9 kB / 16.67 MB, free: 6.352 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.83 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3881, allocations: 151.6 MB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001962/0.3901, allocations: 0.6984 MB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3911, allocations: 0.8744 MB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.3912, allocations: 4 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.3912, allocations: 3.938 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.3913, allocations: 7.938 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.3915, allocations: 19.91 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.3916, allocations: 39.92 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3917, allocations: 11.98 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.3918, allocations: 23.92 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.3918, allocations: 19.91 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.3919, allocations: 4 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.3919, allocations: 4 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3919, allocations: 7.938 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.392, allocations: 19.92 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3921, allocations: 39.81 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3921, allocations: 0 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3921, allocations: 0 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3921, allocations: 8 kB / 1.168 GB, free: 4.945 MB / 0.92 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.0005467/0.3927, allocations: 359.3 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3927, allocations: 15.97 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.3927, allocations: 4.891 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3929, allocations: 172.3 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3929, allocations: 8.312 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3929, allocations: 4.375 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3932, allocations: 70.22 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3932, allocations: 4.172 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3932, allocations: 3.938 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3932, allocations: 0 / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.3935, allocations: 63.92 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3939, allocations: 276.8 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3941, allocations: 58.47 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3943, allocations: 36.92 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3943, allocations: 0 / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3943, allocations: 38.56 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3943, allocations: 0 / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005375/0.3949, allocations: 129.5 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3949, allocations: 55.41 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.395, allocations: 109.8 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.395, allocations: 25.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.3951, allocations: 88.14 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3951, allocations: 11.89 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3951, allocations: 17.72 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3953, allocations: 310.8 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3954, allocations: 35.95 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3955, allocations: 31.97 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.3958, allocations: 68.78 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3958, allocations: 7.938 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003107/0.3961, allocations: 101.6 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3962, allocations: 4 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3962, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3962, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3963, allocations: 19.97 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3963, allocations: 0 / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.3964, allocations: 11.98 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3964, allocations: 4 kB / 1.17 GB, free: 2.613 MB / 0.92 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.404e-05/0.3965, allocations: 117.7 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3965, allocations: 7.953 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.3966, allocations: 7.906 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3966, allocations: 3.984 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3966, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3966, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3968, allocations: 165.6 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3968, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.3969, allocations: 23.98 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3969, allocations: 3.938 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3969, allocations: 4.266 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3969, allocations: 3.984 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3969, allocations: 4 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.3973, allocations: 195.4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.3973, allocations: 81.06 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3973, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3975, allocations: 19.97 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.3975, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3975, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.3976, allocations: 87.27 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3976, allocations: 0 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002137/0.3978, allocations: 15.94 kB / 1.171 GB, free: 1.781 MB / 0.92 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.0001362/0.3979, allocations: 99.25 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3983, allocations: 67.86 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3983, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3984, allocations: 43.95 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3987, allocations: 11.94 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.3991, allocations: 117.4 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3994, allocations: 0.6807 MB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.3994, allocations: 7.984 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.3994, allocations: 11.44 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3994, allocations: 0 / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of Templates: time 0.002987/0.4024, allocations: 0.728 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches