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.001491/0.001491, allocations: 106.8 kB / 15.98 MB, free: 6.355 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.001676/0.001676, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 469.4 MB / 0.7423 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 72.02 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3096, allocations: 159.1 MB / 1.064 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002199/0.3119, allocations: 0.7766 MB / 1.065 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.313, allocations: 0.8625 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.313, allocations: 4 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.3131, allocations: 3.984 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.3132, allocations: 7.922 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3134, allocations: 16 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.3135, allocations: 51.78 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3136, allocations: 8 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.3137, allocations: 19.92 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.3138, allocations: 19.92 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3138, allocations: 8 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.3138, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.3138, allocations: 11.97 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.3139, allocations: 19.86 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.314, allocations: 19.95 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.314, allocations: 8 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.314, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.314, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 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.000555/0.3145, allocations: 365.4 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3146, allocations: 8.625 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.3146, allocations: 4.844 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3148, allocations: 168.3 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3148, allocations: 384 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3148, allocations: 8.312 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.3151, allocations: 70.2 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3151, allocations: 192 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3151, allocations: 7.938 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3151, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.3154, allocations: 59.94 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.3158, allocations: 268.9 kB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.316, allocations: 66.41 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3162, allocations: 36.92 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.3162, allocations: 7.922 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3163, allocations: 30.56 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3163, allocations: 4 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005359/0.3168, allocations: 125.6 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3169, allocations: 55.34 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.317, allocations: 113.8 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.317, allocations: 25.7 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.317, allocations: 92.12 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3171, allocations: 11.81 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.3171, allocations: 13.72 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3172, allocations: 314.8 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3174, allocations: 35.95 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3175, allocations: 27.97 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3178, allocations: 72.78 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3178, allocations: 7.875 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000316/0.3181, allocations: 97.56 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3181, allocations: 8 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3182, allocations: 4.312 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3182, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3183, allocations: 15.98 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3183, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.3184, allocations: 11.98 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3184, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 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 9.683e-05/0.3185, allocations: 117.8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.3186, allocations: 11.89 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.3186, allocations: 7.891 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3186, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3186, allocations: 8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3186, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3188, allocations: 169.6 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3188, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3189, allocations: 15.97 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.319, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.319, allocations: 8 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.319, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.319, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.3194, allocations: 195.4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.3194, allocations: 84.95 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3194, allocations: 11.98 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3196, allocations: 7.984 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3196, allocations: 8 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3196, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.3197, allocations: 91.2 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3197, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002307/0.3199, allocations: 8 kB / 1.068 GB, free: 10.4 MB / 0.8419 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.0001377/0.3201, allocations: 103.2 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3204, allocations: 67.86 kB / 1.068 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3204, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3206, allocations: 35.95 kB / 1.068 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3209, allocations: 19.88 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.3213, allocations: 151.3 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3215, allocations: 0.6846 MB / 1.069 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.3216, allocations: 11.44 kB / 1.069 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3216, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.002168/0.3238, allocations: 0.739 MB / 1.07 GB, free: 8.527 MB / 0.8419 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