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.001184/0.001184, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001483/0.001483, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.964/1.964, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.414e-06/2.414e-06, allocations: 1.094 kB / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.978e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001428/0.001458, allocations: 0.7138 MB / 0.8123 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.002338, allocations: 0.9151 MB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.002376, allocations: 0 / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.002404, allocations: 3.938 kB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.002472, allocations: 11.92 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.002643, allocations: 21.12 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.002719, allocations: 39.86 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.002817, allocations: 15.92 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.002907, allocations: 25.3 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.799e-05/0.002945, allocations: 11.98 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.002968, allocations: 7.984 kB / 0.8133 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.002978, allocations: 4 kB / 0.8133 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.002996, allocations: 13.33 kB / 0.8133 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.003019, allocations: 8 kB / 0.8133 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.003101, allocations: 31.84 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003103, allocations: 0 / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003104, allocations: 0.5312 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.003109, allocations: 1.344 kB / 0.8134 GB, free: 176 kB / 0.7605 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.0003575/0.003466, allocations: 376.6 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003502, allocations: 8.031 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.003541, allocations: 9.422 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.746e-05/0.003628, allocations: 130.4 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.003639, allocations: 384 / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.003649, allocations: 384 / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.003789, allocations: 66.94 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.003795, allocations: 192 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.003806, allocations: 2.375 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.003813, allocations: 384 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.003849, allocations: 15.88 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.004149, allocations: 263.8 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.004214, allocations: 31.06 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.004241, allocations: 12.28 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.004259, allocations: 0.5312 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.004284, allocations: 45.33 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.004285, allocations: 0.7188 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001555/0.004441, allocations: 50.23 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.00447, allocations: 55.41 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.004543, allocations: 167.4 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004555, allocations: 29.7 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.0046, allocations: 134.8 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.004619, allocations: 11.89 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.004648, allocations: 19.91 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.004754, allocations: 0.4897 MB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.004778, allocations: 3.984 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.004795, allocations: 7.938 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.00483, allocations: 15.69 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004832, allocations: 0.9062 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.911e-05/0.004901, allocations: 45.64 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.004914, allocations: 8.719 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.004918, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.004929, allocations: 9.125 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.005007, allocations: 11.98 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.005012, allocations: 0 / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.005036, allocations: 8.844 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.005042, allocations: 0 / 0.8153 GB, free: 13.97 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 6.532e-05/0.005107, allocations: 157.9 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.005123, allocations: 4 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.005159, allocations: 15.92 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.005163, allocations: 5.156 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.005168, allocations: 4 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005171, allocations: 0 / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.005302, allocations: 118.5 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005304, allocations: 4 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.005361, allocations: 7.984 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005363, allocations: 4 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.005371, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.005374, allocations: 6.375 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.005375, allocations: 0 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.005531, allocations: 191.9 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.00554, allocations: 7.938 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.00555, allocations: 0 / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.005595, allocations: 7.938 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.005639, allocations: 13.52 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.005643, allocations: 0 / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.005689, allocations: 127.2 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005689, allocations: 0 / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001478/0.005836, allocations: 12 kB / 0.816 GB, free: 13.24 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 9.151e-05/0.005928, allocations: 93.25 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.006014, allocations: 20.05 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.006017, allocations: 4 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.00604, allocations: 16.38 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.006243, allocations: 8.656 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.006521, allocations: 134.3 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.006554, allocations: 51.36 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.006575, allocations: 7.984 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.006606, allocations: 16.44 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.006607, allocations: 0 / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.002389/0.008996, allocations: 0.7907 MB / 0.8171 GB, free: 12.07 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.296326204203069]