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.001437/0.001437, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001593/0.001593, allocations: 164.9 kB / 24.87 MB, free: 8.891 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.94/1.94, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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 2.305e-06/2.305e-06, allocations: 0 / 0.8129 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.352e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001649/0.001682, allocations: 0.7123 MB / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002731, allocations: 0.9101 MB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.002774, allocations: 0 / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.002806, allocations: 8.703 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.002884, allocations: 19.86 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.003051, allocations: 13.67 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.003126, allocations: 39.92 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.003222, allocations: 15.86 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.003303, allocations: 23.98 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.003343, allocations: 13.52 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.003362, allocations: 7.984 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.003371, allocations: 4 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.003392, allocations: 11.92 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.003412, allocations: 8.75 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.0035, allocations: 27.91 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.003503, allocations: 8.703 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003504, allocations: 0 / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.003509, allocations: 1.594 kB / 0.8146 GB, free: 15.56 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.0003429/0.003852, allocations: 376.6 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.003887, allocations: 8.031 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.003915, allocations: 9.422 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.003996, allocations: 116.5 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.004006, allocations: 1.094 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.004015, allocations: 8.375 kB / 0.8151 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.004136, allocations: 65.12 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.004144, allocations: 192 / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.00415, allocations: 384 / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.004155, allocations: 384 / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.004179, allocations: 15.86 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.004451, allocations: 237 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.004515, allocations: 43.64 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.004533, allocations: 12.47 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.004547, allocations: 0 / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.004568, allocations: 34.55 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.004569, allocations: 0 / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001373/0.004707, allocations: 57.83 kB / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.004735, allocations: 52.78 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.004811, allocations: 165.9 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.004823, allocations: 29.7 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.004883, allocations: 138.8 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.004903, allocations: 13.64 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.004931, allocations: 23.31 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.005055, allocations: 0.4884 MB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.005069, allocations: 0 / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.005082, allocations: 7.984 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.005111, allocations: 21.84 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005113, allocations: 0 / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.308e-05/0.005176, allocations: 45.64 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005189, allocations: 6.344 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005194, allocations: 0 / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.005203, allocations: 3.938 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.005277, allocations: 10.78 kB / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.00528, allocations: 3.984 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.005309, allocations: 4 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.005316, allocations: 4 kB / 0.8166 GB, free: 13.4 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.187e-05/0.005388, allocations: 156.6 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.005411, allocations: 4 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.00544, allocations: 5.594 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.005444, allocations: 11.86 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.005447, allocations: 0 / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.00545, allocations: 0 / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.00584, allocations: 105.8 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.005842, allocations: 0 / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.005884, allocations: 12.55 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.005887, allocations: 0.5 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005893, allocations: 0.5625 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.005897, allocations: 4 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.005899, allocations: 1.688 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.006032, allocations: 195.8 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.006041, allocations: 4 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.006049, allocations: 2.562 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.00609, allocations: 7.984 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.006126, allocations: 11.92 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.00613, allocations: 0 / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.006167, allocations: 135.1 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006167, allocations: 0 / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001497/0.006317, allocations: 8 kB / 0.8172 GB, free: 12.7 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 0.0001054/0.006422, allocations: 100.9 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.865e-05/0.006501, allocations: 15.69 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006503, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.006529, allocations: 24.75 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.006729, allocations: 8 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.006977, allocations: 128.1 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.007011, allocations: 59.34 kB / 0.8175 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.007033, allocations: 7.719 kB / 0.8175 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.007086, allocations: 70.2 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.007087, allocations: 0 / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.002458/0.009544, allocations: 0.8778 MB / 0.8185 GB, free: 11.38 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.222576573025435]