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.00182/0.00182, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002115/0.002115, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.579/1.579, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.925/2.925, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7768, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002295/0.7792, allocations: 0.7666 MB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.7804, allocations: 0.8663 MB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.7805, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/0.7805, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.048e-05/0.7806, allocations: 7.938 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.7808, allocations: 15.98 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.7809, allocations: 43.84 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.7811, allocations: 16 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.7812, allocations: 19.84 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.7812, allocations: 23.92 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.7813, allocations: 0 / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.7813, allocations: 4 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.7813, allocations: 3.984 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.7814, allocations: 15.88 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.7815, allocations: 35.88 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7815, allocations: 0 / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7815, allocations: 0 / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.7815, allocations: 4 kB / 1.018 GB, free: 0.9453 MB / 0.7637 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.0006842/0.7822, allocations: 369.3 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.7822, allocations: 11.97 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.7823, allocations: 4.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.7825, allocations: 176.3 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.7825, allocations: 384 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.7825, allocations: 384 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.7828, allocations: 82.14 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7828, allocations: 192 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.7829, allocations: 3.938 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7829, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.7832, allocations: 63.92 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.7837, allocations: 265 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.7839, allocations: 58.48 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.7841, allocations: 44.84 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.7842, allocations: 4 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.7842, allocations: 30.56 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7842, allocations: 0 / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006025/0.7848, allocations: 125.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.7849, allocations: 59.39 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.785, allocations: 109.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.785, allocations: 25.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.7851, allocations: 84.14 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.7851, allocations: 15.84 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.7852, allocations: 13.66 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.7854, allocations: 318.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.7855, allocations: 35.91 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.7857, allocations: 31.95 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.786, allocations: 65.08 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.786, allocations: 3.938 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003299/0.7863, allocations: 113.5 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7863, allocations: 4 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7863, allocations: 4 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7864, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.7865, allocations: 11.98 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.7865, allocations: 3.938 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.7866, allocations: 15.98 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.7866, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 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 0.0001099/0.7867, allocations: 118.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.7868, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.7868, allocations: 11.91 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.7868, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7868, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7868, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.7871, allocations: 177.4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7871, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.7872, allocations: 23.97 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7872, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.7872, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7872, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7872, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.7876, allocations: 199.4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.7877, allocations: 85.09 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7877, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7878, allocations: 11.98 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.7878, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.7879, allocations: 7.984 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.7879, allocations: 83.28 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7879, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002142/0.7881, allocations: 15.91 kB / 1.021 GB, free: 13.79 MB / 0.7794 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.0001598/0.7883, allocations: 99.19 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.7887, allocations: 71.92 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7887, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.7888, allocations: 43.89 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.7892, allocations: 7.938 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.7896, allocations: 141.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.7899, allocations: 0.6809 MB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.79, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.79, allocations: 11.44 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.79, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.003262/0.7933, allocations: 0.5886 MB / 1.023 GB, free: 12.09 MB / 0.7794 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=400 -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