Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.841/1.841, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.967e-05, allocations: 6.141 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001159/0.001179, allocations: 0.7121 MB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.001993, allocations: 0.911 MB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.002026, allocations: 4 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.002054, allocations: 5.344 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.002124, allocations: 7.875 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.002282, allocations: 15.98 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.00235, allocations: 48.69 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.002435, allocations: 7.938 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.002504, allocations: 24.53 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.002544, allocations: 20.81 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.002561, allocations: 4 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.00257, allocations: 4 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.002587, allocations: 12.64 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.002607, allocations: 7.938 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.382e-05/0.002681, allocations: 29.22 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002682, allocations: 3.938 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.9e-07/0.002683, allocations: 0 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.002686, allocations: 1.625 kB / 0.7889 GB, free: 10.6 MB / 0.7448 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.0003309/0.003017, allocations: 372.6 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.003052, allocations: 8.031 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.003086, allocations: 8.891 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.00317, allocations: 129.7 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.003179, allocations: 384 / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.003192, allocations: 4.375 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.003319, allocations: 67.62 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.003327, allocations: 1.781 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.003336, allocations: 384 / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.003344, allocations: 4.359 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.269e-05/0.003376, allocations: 15.88 kB / 0.7895 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.003694, allocations: 256.5 kB / 0.7898 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.003762, allocations: 46.42 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.003787, allocations: 7.688 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.003806, allocations: 4 kB / 0.7898 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.003827, allocations: 33.39 kB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.003828, allocations: 0 / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001486/0.003977, allocations: 53.66 kB / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.004003, allocations: 55.41 kB / 0.79 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.004073, allocations: 165.9 kB / 0.7901 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004085, allocations: 25.7 kB / 0.7901 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.004126, allocations: 135.5 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.004145, allocations: 15.88 kB / 0.7903 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.004174, allocations: 25.03 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.004275, allocations: 492.1 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.004291, allocations: 0 / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.004305, allocations: 7.984 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.00434, allocations: 28.84 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.004342, allocations: 0 / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.865e-05/0.0044, allocations: 45.64 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.004413, allocations: 11.94 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004417, allocations: 1.031 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.004432, allocations: 0 / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.004503, allocations: 9.344 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.004508, allocations: 0 / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.004531, allocations: 7.984 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.004538, allocations: 5.141 kB / 0.7909 GB, free: 8.402 MB / 0.7448 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 5.914e-05/0.004597, allocations: 160.6 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.004611, allocations: 0.7812 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.00464, allocations: 11.94 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.004643, allocations: 9.203 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.004646, allocations: 0 / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004648, allocations: 0 / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.793e-05/0.004736, allocations: 120.6 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.004736, allocations: 1.312 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.004764, allocations: 8 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.004765, allocations: 0 / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.004772, allocations: 4.531 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.004775, allocations: 12.39 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004775, allocations: 0 / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.373e-05/0.004869, allocations: 197.1 kB / 0.7914 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.004875, allocations: 4.031 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.004883, allocations: 0.8125 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.00492, allocations: 7.938 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.004956, allocations: 8.516 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.004958, allocations: 1.375 kB / 0.7914 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.004997, allocations: 139.1 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.51e-07/0.004997, allocations: 0 / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001369/0.005134, allocations: 4 kB / 0.7916 GB, free: 7.668 MB / 0.7448 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 5.838e-05/0.005192, allocations: 96.44 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.005274, allocations: 23.67 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.005275, allocations: 0.6562 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.005295, allocations: 12.41 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.005471, allocations: 8.812 kB / 0.7917 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.005711, allocations: 139 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.005746, allocations: 55.36 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.653e-05/0.005762, allocations: 1.219 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.005792, allocations: 13.47 kB / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.005792, allocations: 0 / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.00213/0.007922, allocations: 0.7966 MB / 0.7927 GB, free: 6.504 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.126960007008165]