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.0013/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001952/0.001952, allocations: 194.2 kB / 16.25 MB, free: 6.637 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.881/2.881, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7327, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001812/0.7346, allocations: 0.7822 MB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.7354, allocations: 0.8586 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.7354, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.7355, allocations: 3.938 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.7356, allocations: 7.922 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.7357, allocations: 12 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.7358, allocations: 55.83 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.7359, allocations: 8 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.7359, allocations: 15.98 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.736, allocations: 19.92 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.736, allocations: 7.938 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.736, allocations: 4 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.736, allocations: 7.984 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.7361, allocations: 15.94 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.596e-05/0.7362, allocations: 51.78 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7362, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.2e-06/0.7362, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.7362, allocations: 3.938 kB / 1.019 GB, free: 0.9297 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.0004606/0.7367, allocations: 361.3 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.7367, allocations: 8.031 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.7367, allocations: 4.938 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7368, allocations: 168.3 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.7369, allocations: 12.38 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.7369, allocations: 384 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.7371, allocations: 66.22 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7371, allocations: 192 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.7372, allocations: 7.938 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7372, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.7375, allocations: 67.92 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.7378, allocations: 264.9 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.738, allocations: 54.48 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.7382, allocations: 40.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7382, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.7382, allocations: 38.56 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.7382, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000513/0.7387, allocations: 137.4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7388, allocations: 51.41 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.7388, allocations: 105.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.7389, allocations: 29.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.7389, allocations: 84.14 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.7389, allocations: 7.844 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.739, allocations: 17.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.7391, allocations: 318.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.7392, allocations: 31.97 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.7394, allocations: 31.95 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.7396, allocations: 77 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7396, allocations: 3.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003068/0.74, allocations: 101.5 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.74, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.74, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.74, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.7401, allocations: 19.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7401, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.7402, allocations: 11.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.7402, allocations: 3.984 kB / 1.021 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 6.652e-05/0.7403, allocations: 117.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.7403, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.7404, allocations: 7.906 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7404, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7404, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.7404, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.7406, allocations: 173.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7406, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.7407, allocations: 19.92 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7407, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.7407, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7407, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7407, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.7411, allocations: 199.3 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.7411, allocations: 81.11 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.7411, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.7412, allocations: 11.98 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.7413, allocations: 7.984 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.7413, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.7414, allocations: 87.28 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7414, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002234/0.7416, allocations: 7.938 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.0001419/0.7417, allocations: 111.2 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.7421, allocations: 71.92 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7421, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.7423, allocations: 35.97 kB / 1.022 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.0003311/0.7426, allocations: 11.89 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.7429, allocations: 149.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.7431, allocations: 0.6807 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.7432, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.7432, allocations: 15.38 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.7432, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002506/0.7457, allocations: 0.6069 MB / 1.023 GB, free: 12.06 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=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