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.001316/0.001316, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001706/0.001706, allocations: 181 kB / 24.09 MB, free: 420 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 0.9854/0.9854, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.769/1.769, allocations: 359 MB / 0.6055 GB, free: 10.9 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 2.455e-06/2.455e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.411e-05, allocations: 7.031 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00139/0.001414, allocations: 0.7111 MB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.002332, allocations: 0.9104 MB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.002369, allocations: 1.406 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.002393, allocations: 3.938 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.002452, allocations: 11.92 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.002599, allocations: 20.98 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.002666, allocations: 47.84 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.00275, allocations: 7.938 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.002828, allocations: 21.55 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.002866, allocations: 19.91 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.002884, allocations: 4 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.002892, allocations: 4 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.002907, allocations: 9.266 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.00293, allocations: 15.92 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.32e-05/0.003003, allocations: 27.97 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003006, allocations: 0.9062 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003007, allocations: 0 / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.00301, allocations: 0 / 0.7894 GB, free: 10.32 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.0003055/0.003315, allocations: 377.4 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.003352, allocations: 10.5 kB / 0.7898 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.003376, allocations: 8.891 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.045e-05/0.003446, allocations: 120.5 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.003454, allocations: 384 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.003461, allocations: 4.375 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.003564, allocations: 66.94 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.00357, allocations: 1.938 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.003577, allocations: 384 / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003581, allocations: 384 / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.003602, allocations: 15.86 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.003826, allocations: 244.3 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.003878, allocations: 39.7 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.003894, allocations: 8.406 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.003913, allocations: 4.531 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.003934, allocations: 37.47 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.003935, allocations: 1.656 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001177/0.004052, allocations: 49.58 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.004075, allocations: 51.41 kB / 0.7904 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.00414, allocations: 169.9 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.004151, allocations: 30.28 kB / 0.7906 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.004193, allocations: 134.8 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.004213, allocations: 12.67 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.004237, allocations: 19.38 kB / 0.7907 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.004346, allocations: 0.4934 MB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.00436, allocations: 4 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.004371, allocations: 4 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.004396, allocations: 13.06 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004398, allocations: 0 / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.912e-05/0.004457, allocations: 53.58 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.004471, allocations: 7.625 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.004475, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.004484, allocations: 3.938 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.004538, allocations: 11.98 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.00454, allocations: 320 / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.004561, allocations: 5.25 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.004567, allocations: 4 kB / 0.7913 GB, free: 8.16 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.9e-05/0.004626, allocations: 158.2 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.00464, allocations: 8 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.004665, allocations: 4 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.004667, allocations: 3.938 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.004669, allocations: 0 / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004672, allocations: 2.656 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.004762, allocations: 109.2 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.004763, allocations: 0 / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.004787, allocations: 8 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.004788, allocations: 3.938 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.004792, allocations: 3.938 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.004794, allocations: 3.984 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.004795, allocations: 4.484 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/0.004891, allocations: 196.7 kB / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.004896, allocations: 1.938 kB / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.004904, allocations: 4.047 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.004938, allocations: 7.984 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.004971, allocations: 11.92 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.004973, allocations: 0 / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.005006, allocations: 129.8 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005007, allocations: 0 / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001282/0.005135, allocations: 12 kB / 0.792 GB, free: 7.453 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 8.008e-05/0.005215, allocations: 91.25 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.973e-05/0.005275, allocations: 23.61 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.005276, allocations: 0.5312 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.005296, allocations: 15.69 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.005469, allocations: 4.875 kB / 0.7921 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.005681, allocations: 136.2 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.005711, allocations: 55.36 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.00573, allocations: 4.844 kB / 0.7923 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.005781, allocations: 78.19 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/0.005782, allocations: 1.219 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.002182/0.007963, allocations: 0.8743 MB / 0.7932 GB, free: 6.145 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: 4.968339419923723]