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.001018/0.001018, allocations: 87.58 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.0009745/0.0009745, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9726/0.9726, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.767/1.767, allocations: 359 MB / 0.6052 GB, free: 11.03 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.843e-06/1.843e-06, allocations: 0 / 0.7872 GB, free: 11.33 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.337e-05, allocations: 2.312 kB / 0.7872 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.004597/0.004621, allocations: 0.7078 MB / 0.7879 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.005633, allocations: 0.9109 MB / 0.7887 GB, free: 9.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.005676, allocations: 4 kB / 0.7888 GB, free: 9.707 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.005711, allocations: 5.5 kB / 0.7888 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.005791, allocations: 7.875 kB / 0.7888 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.005963, allocations: 15.98 kB / 0.7888 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.006049, allocations: 47.83 kB / 0.7888 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.006147, allocations: 9.156 kB / 0.7888 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.006236, allocations: 27.91 kB / 0.7889 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.006278, allocations: 11.98 kB / 0.7889 GB, free: 9.586 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.006302, allocations: 10.34 kB / 0.7889 GB, free: 9.578 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.006314, allocations: 4 kB / 0.7889 GB, free: 9.574 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.006332, allocations: 8 kB / 0.7889 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.006358, allocations: 11.92 kB / 0.7889 GB, free: 9.555 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.893e-05/0.006447, allocations: 31.89 kB / 0.7889 GB, free: 9.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.00645, allocations: 0 / 0.7889 GB, free: 9.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.72e-07/0.006451, allocations: 0.7188 kB / 0.7889 GB, free: 9.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.006455, allocations: 0 / 0.7889 GB, free: 9.523 MB / 0.698 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.0004031/0.006858, allocations: 381.2 kB / 0.7893 GB, free: 9.113 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.006898, allocations: 8.031 kB / 0.7893 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.006942, allocations: 11.23 kB / 0.7893 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.326e-05/0.007035, allocations: 112.6 kB / 0.7894 GB, free: 8.961 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.00705, allocations: 8.297 kB / 0.7894 GB, free: 8.953 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.007064, allocations: 12.36 kB / 0.7894 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.007217, allocations: 62.94 kB / 0.7895 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.007225, allocations: 4.125 kB / 0.7895 GB, free: 8.867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007238, allocations: 6.25 kB / 0.7895 GB, free: 8.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.007248, allocations: 4.375 kB / 0.7895 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.007284, allocations: 7.938 kB / 0.7895 GB, free: 8.852 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.007699, allocations: 259.8 kB / 0.7898 GB, free: 8.562 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.856e-05/0.007788, allocations: 35.55 kB / 0.7898 GB, free: 8.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.007816, allocations: 17.12 kB / 0.7898 GB, free: 8.496 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.007833, allocations: 4 kB / 0.7898 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.007854, allocations: 33.39 kB / 0.7899 GB, free: 8.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.007856, allocations: 0 / 0.7899 GB, free: 8.449 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.00801, allocations: 51.09 kB / 0.7899 GB, free: 8.395 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.008042, allocations: 55.41 kB / 0.79 GB, free: 8.328 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.00812, allocations: 165.9 kB / 0.7901 GB, free: 8.148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.008131, allocations: 25.7 kB / 0.7901 GB, free: 8.117 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.008179, allocations: 132.6 kB / 0.7903 GB, free: 7.984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.008201, allocations: 15.89 kB / 0.7903 GB, free: 7.969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.008231, allocations: 19.38 kB / 0.7903 GB, free: 7.941 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.008374, allocations: 496.1 kB / 0.7908 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.008408, allocations: 13.03 kB / 0.7908 GB, free: 7.434 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.008422, allocations: 3.984 kB / 0.7908 GB, free: 7.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.008461, allocations: 19.69 kB / 0.7908 GB, free: 7.406 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008464, allocations: 1.938 kB / 0.7908 GB, free: 7.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.289e-05/0.008526, allocations: 37.69 kB / 0.7909 GB, free: 7.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.008541, allocations: 11.94 kB / 0.7909 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.008545, allocations: 0 / 0.7909 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.008558, allocations: 0 / 0.7909 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.008643, allocations: 14.59 kB / 0.7909 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.00865, allocations: 3.938 kB / 0.7909 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.008675, allocations: 11.94 kB / 0.7909 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008681, allocations: 0 / 0.7909 GB, free: 7.324 MB / 0.698 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.166e-05/0.008753, allocations: 156.6 kB / 0.791 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.008767, allocations: 0 / 0.791 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.008803, allocations: 16.66 kB / 0.7911 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.008806, allocations: 7.922 kB / 0.7911 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.008811, allocations: 0.5312 kB / 0.7911 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.008815, allocations: 1.984 kB / 0.7911 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.008919, allocations: 128.5 kB / 0.7912 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00892, allocations: 0 / 0.7912 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.008948, allocations: 8 kB / 0.7912 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008949, allocations: 0 / 0.7912 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.008957, allocations: 0.5938 kB / 0.7912 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008958, allocations: 4.438 kB / 0.7912 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.008961, allocations: 7.969 kB / 0.7912 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.009079, allocations: 196.7 kB / 0.7914 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.009086, allocations: 3.984 kB / 0.7914 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.009096, allocations: 1.156 kB / 0.7914 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.009132, allocations: 11.94 kB / 0.7914 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.009177, allocations: 7.984 kB / 0.7914 GB, free: 6.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.009179, allocations: 0.8438 kB / 0.7914 GB, free: 6.723 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.009227, allocations: 135.2 kB / 0.7916 GB, free: 6.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.009227, allocations: 0.8438 kB / 0.7916 GB, free: 6.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001413/0.009368, allocations: 4 kB / 0.7916 GB, free: 6.586 MB / 0.698 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 7.582e-05/0.009444, allocations: 96.53 kB / 0.7916 GB, free: 6.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.714e-05/0.009531, allocations: 19.67 kB / 0.7917 GB, free: 6.457 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009533, allocations: 0.8438 kB / 0.7917 GB, free: 6.457 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.009556, allocations: 19.62 kB / 0.7917 GB, free: 6.434 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.009744, allocations: 9.703 kB / 0.7917 GB, free: 6.426 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.01001, allocations: 131.6 kB / 0.7918 GB, free: 6.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.01005, allocations: 55.36 kB / 0.7919 GB, free: 6.195 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.01007, allocations: 1.469 kB / 0.7919 GB, free: 6.195 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.0101, allocations: 16.5 kB / 0.7919 GB, free: 6.18 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.0101, allocations: 0 / 0.7919 GB, free: 6.18 MB / 0.698 GB Notification: Performance of Templates: time 0.002391/0.0125, allocations: 0.8537 MB / 0.7927 GB, free: 5.363 MB / 0.698 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: 4.8895302740857005]