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.00125/0.00125, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001269/0.001269, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.526/1.526, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.973/2.973, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001691, allocations: 59.91 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 159.1 MB / 1.221 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002477/1.124, allocations: 0.7064 MB / 1.222 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001308/1.125, allocations: 0.8663 MB / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/1.126, allocations: 0 / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/1.126, allocations: 7.875 kB / 1.222 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/1.126, allocations: 7.938 kB / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/1.126, allocations: 23.89 kB / 1.223 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000111/1.126, allocations: 43.92 kB / 1.223 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/1.126, allocations: 11.98 kB / 1.223 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/1.126, allocations: 19.92 kB / 1.223 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/1.126, allocations: 19.92 kB / 1.223 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/1.126, allocations: 4 kB / 1.223 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/1.127, allocations: 4 kB / 1.223 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/1.127, allocations: 7.938 kB / 1.223 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/1.127, allocations: 19.91 kB / 1.223 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/1.127, allocations: 47.81 kB / 1.223 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.127, allocations: 3.938 kB / 1.223 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/1.127, allocations: 0 / 1.223 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.127, allocations: 0 / 1.223 GB, free: 0.6875 MB / 0.9356 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.000608/1.127, allocations: 369.1 kB / 1.223 GB, free: 284 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.127, allocations: 8.625 kB / 1.223 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/1.127, allocations: 4.938 kB / 1.223 GB, free: 272 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/1.128, allocations: 164.3 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.128, allocations: 8.375 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/1.128, allocations: 4.375 kB / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/1.128, allocations: 62.22 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.128, allocations: 4.172 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.128, allocations: 11.94 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.128, allocations: 0 / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/1.128, allocations: 67.88 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/1.129, allocations: 257 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/1.129, allocations: 62.47 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/1.129, allocations: 36.92 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/1.129, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.129, allocations: 42.48 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.129, allocations: 0 / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000554/1.13, allocations: 125.6 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/1.13, allocations: 51.41 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/1.13, allocations: 117.7 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.13, allocations: 29.7 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/1.13, allocations: 88.12 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/1.13, allocations: 7.844 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/1.13, allocations: 13.72 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.13, allocations: 314.8 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/1.13, allocations: 39.95 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.131, allocations: 27.97 kB / 1.225 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/1.131, allocations: 76.66 kB / 1.225 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.131, allocations: 4 kB / 1.225 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003158/1.131, allocations: 101.5 kB / 1.225 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.131, allocations: 5.875 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.131, allocations: 0 / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.131, allocations: 0 / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/1.131, allocations: 23.91 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.131, allocations: 0 / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/1.131, allocations: 15.98 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/1.131, allocations: 336 / 1.225 GB, free: 14.36 MB / 0.9512 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.852e-05/1.132, allocations: 117.8 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/1.132, allocations: 3.938 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/1.132, allocations: 7.891 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.132, allocations: 7.984 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.132, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/1.132, allocations: 81.02 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/1.132, allocations: 8 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/1.132, allocations: 15.98 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/1.132, allocations: 7.922 kB / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004313/1.132, allocations: 184.9 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004105/1.133, allocations: 270.7 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000158/1.133, allocations: 39.95 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.728e-05/1.133, allocations: 79.59 kB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of Backend: time 2.71e-07/1.133, allocations: 4 kB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005217/1.134, allocations: 120.2 kB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006501/1.134, allocations: 0.5728 MB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.003487/1.138, allocations: 0.8833 MB / 1.227 GB, free: 11.88 MB / 0.9512 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