Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001576/0.001576, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001608/0.001608, allocations: 161.4 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 0.9618/0.9618, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.914/1.914, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.982e-05, allocations: 7.25 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001716/0.001736, allocations: 0.7171 MB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.0026, allocations: 0.9144 MB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.002638, allocations: 0 / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.002674, allocations: 7.922 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.18e-05/0.002756, allocations: 8.875 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.00295, allocations: 20.03 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.467e-05/0.003035, allocations: 39.88 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003144, allocations: 16.55 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.003235, allocations: 28.88 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.003276, allocations: 7.984 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.003301, allocations: 4 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.003311, allocations: 4.656 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.003331, allocations: 11.92 kB / 0.8134 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.003357, allocations: 13.78 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.233e-05/0.003449, allocations: 35.83 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.003453, allocations: 3.984 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003454, allocations: 0 / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003458, allocations: 1.188 kB / 0.8134 GB, free: 15.84 MB / 0.7761 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.0003766/0.003835, allocations: 372.6 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.00387, allocations: 8.031 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.003911, allocations: 13.8 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.704e-05/0.003998, allocations: 116.5 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.004008, allocations: 1.188 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.004018, allocations: 384 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.004153, allocations: 67.81 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.004163, allocations: 192 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004173, allocations: 1.625 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.004181, allocations: 384 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.004213, allocations: 15.86 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.00453, allocations: 256.4 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.004623, allocations: 40.25 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.004649, allocations: 11.69 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.004666, allocations: 3.984 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.004691, allocations: 42.47 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004692, allocations: 0 / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001616/0.004854, allocations: 49.58 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.004889, allocations: 56.42 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.00497, allocations: 165.9 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.004981, allocations: 27.52 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.00503, allocations: 138.8 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.005051, allocations: 7.891 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.005079, allocations: 27.31 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.0052, allocations: 0.4884 MB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.00522, allocations: 5.531 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.005234, allocations: 4 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.005268, allocations: 15.62 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.00527, allocations: 0 / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.787e-05/0.005338, allocations: 50.2 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.005353, allocations: 7.938 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.005358, allocations: 1.719 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.005373, allocations: 4 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.005461, allocations: 11.98 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.005467, allocations: 0.625 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.005489, allocations: 4 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.005498, allocations: 4.703 kB / 0.8153 GB, free: 13.65 MB / 0.7761 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.133e-05/0.00557, allocations: 162.4 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.005583, allocations: 4 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.00561, allocations: 11.88 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.005613, allocations: 4 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.005618, allocations: 0 / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005622, allocations: 0.625 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.005713, allocations: 116.6 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005714, allocations: 0.7188 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.005743, allocations: 21.2 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.005746, allocations: 4 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.005752, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005754, allocations: 4.75 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005754, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.638e-05/0.005851, allocations: 191.9 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.005858, allocations: 4.938 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.005866, allocations: 0 / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.005902, allocations: 13.27 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.005939, allocations: 0 / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.005944, allocations: 11.94 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.005982, allocations: 127.2 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005982, allocations: 0.875 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001332/0.006115, allocations: 8 kB / 0.816 GB, free: 12.92 MB / 0.7761 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 6.625e-05/0.006181, allocations: 97.28 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.006262, allocations: 24.05 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.006264, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.006288, allocations: 19.77 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.006471, allocations: 16.05 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.006734, allocations: 130.2 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.006767, allocations: 59.28 kB / 0.8163 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.006784, allocations: 4 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.006812, allocations: 8.5 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of SimCode: time 5.1e-07/0.006813, allocations: 4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002244/0.009057, allocations: 0.8331 MB / 0.8172 GB, free: 11.7 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.263445679098368]