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.001191/0.001191, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.00115/0.001151, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9549/0.9565, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002177/0.9587, allocations: 0.6962 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.9599, allocations: 0.8702 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.9599, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.96, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.578e-05/0.9601, allocations: 15.84 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.9603, allocations: 19.92 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.9604, allocations: 35.92 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.9605, allocations: 19.98 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.9606, allocations: 19.86 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.9607, allocations: 19.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.9607, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.9607, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.9608, allocations: 7.984 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.9608, allocations: 19.86 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.9609, allocations: 39.88 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9609, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9609, allocations: 8 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9609, allocations: 0 / 1.21 GB, free: 11.88 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.0005499/0.9615, allocations: 359.2 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.9616, allocations: 12.03 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.9616, allocations: 4.844 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9617, allocations: 170.2 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.9618, allocations: 384 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.9618, allocations: 4.375 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.9621, allocations: 78.14 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9621, allocations: 192 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9621, allocations: 3.938 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.9621, allocations: 3.984 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.9624, allocations: 63.92 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.9628, allocations: 272.9 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.963, allocations: 58.42 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.9632, allocations: 40.91 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.9632, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.9633, allocations: 34.56 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.9633, allocations: 3.938 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005444/0.9638, allocations: 121.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.9639, allocations: 59.39 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.964, allocations: 114.1 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.964, allocations: 25.7 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.964, allocations: 95.97 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.9641, allocations: 11.84 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.9641, allocations: 13.72 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9642, allocations: 318.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.9644, allocations: 31.97 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.9645, allocations: 35.95 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.9648, allocations: 60.8 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9648, allocations: 0 / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003254/0.9651, allocations: 105.5 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9651, allocations: 8 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9652, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9652, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.9653, allocations: 19.92 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9653, allocations: 4.062 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.9654, allocations: 7.984 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.9654, allocations: 8 kB / 1.212 GB, free: 9.547 MB / 0.9356 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 7.48e-05/0.9655, allocations: 113.8 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.9656, allocations: 11.89 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.9656, allocations: 3.906 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9656, allocations: 0 / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.9656, allocations: 4 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.9656, allocations: 81.11 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.9657, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.9658, allocations: 15.98 kB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.9658, allocations: 15.86 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004194/0.9663, allocations: 177.2 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003869/0.9667, allocations: 282.6 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001599/0.9668, allocations: 39.95 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.9669, allocations: 83.28 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of Backend: time 2.81e-07/0.9669, allocations: 0 / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.9674, allocations: 118.4 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000501/0.9679, allocations: 0.5803 MB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of Templates: time 0.003142/0.971, allocations: 0.8619 MB / 1.215 GB, free: 7.066 MB / 0.9356 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