Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001372/0.001372, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001218/0.001218, allocations: 169 kB / 23.02 MB, free: 1.551 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.9254/0.9254, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.165/2.165, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.331e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002025/0.002058, allocations: 0.7247 MB / 0.8789 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.00336, allocations: 0.9203 MB / 0.8798 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.003408, allocations: 0 / 0.8798 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.003449, allocations: 3.938 kB / 0.8798 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.003532, allocations: 3.938 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.003747, allocations: 19.92 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.003843, allocations: 48.98 kB / 0.8799 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003955, allocations: 7.922 kB / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.004216, allocations: 27.91 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.004271, allocations: 20.88 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.004296, allocations: 4 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.004309, allocations: 4 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.004331, allocations: 8.469 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.004361, allocations: 12.83 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.004466, allocations: 27.91 kB / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004468, allocations: 3.438 kB / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.385e-06/0.004471, allocations: 4 kB / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004475, allocations: 0 / 0.88 GB, free: 4.379 MB / 0.8386 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.0004577/0.004933, allocations: 372.5 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.004979, allocations: 12.03 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.005021, allocations: 0.9375 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.005138, allocations: 128.4 kB / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.005154, allocations: 4.375 kB / 0.8805 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.005171, allocations: 384 / 0.8805 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.005364, allocations: 67.53 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.005377, allocations: 5.406 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.005389, allocations: 384 / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.0054, allocations: 384 / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.005448, allocations: 13.02 kB / 0.8806 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.005866, allocations: 259.8 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.005963, allocations: 36.12 kB / 0.8809 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.005999, allocations: 15.77 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.006029, allocations: 3.984 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.006059, allocations: 34.92 kB / 0.8809 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.00606, allocations: 4 kB / 0.8809 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002237/0.006284, allocations: 57.52 kB / 0.881 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.00632, allocations: 51.41 kB / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.00642, allocations: 167.1 kB / 0.8812 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.006433, allocations: 25.7 kB / 0.8812 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.006495, allocations: 134.9 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.006519, allocations: 12.41 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.006557, allocations: 27.38 kB / 0.8814 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002935/0.006851, allocations: 496.1 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.006876, allocations: 4 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.006893, allocations: 0 / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.006939, allocations: 19.69 kB / 0.8819 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.006943, allocations: 4 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.002e-05/0.007033, allocations: 53.56 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.007049, allocations: 7.938 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.007054, allocations: 0 / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.007073, allocations: 0 / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.007169, allocations: 11.98 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.007174, allocations: 4 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.007211, allocations: 11.98 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.007219, allocations: 0 / 0.882 GB, free: 2.172 MB / 0.8386 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.702e-05/0.007296, allocations: 156.6 kB / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.007322, allocations: 7.953 kB / 0.8821 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.007356, allocations: 7.938 kB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007358, allocations: 0 / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.007362, allocations: 0 / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.007366, allocations: 4 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.007503, allocations: 116.6 kB / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007504, allocations: 4 kB / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.007558, allocations: 11.98 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.007561, allocations: 0 / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.00757, allocations: 8 kB / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.007575, allocations: 3.938 kB / 0.8823 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007576, allocations: 3.938 kB / 0.8823 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.007703, allocations: 187.9 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.00771, allocations: 7.953 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.007721, allocations: 0 / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.00776, allocations: 11.92 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.0078, allocations: 8.359 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007804, allocations: 0 / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.007846, allocations: 131.2 kB / 0.8826 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007846, allocations: 0 / 0.8826 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002273/0.008073, allocations: 8 kB / 0.8826 GB, free: 1.441 MB / 0.8386 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.0001018/0.008175, allocations: 91.25 kB / 0.8827 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.008283, allocations: 31.59 kB / 0.8828 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.008285, allocations: 0 / 0.8828 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.008317, allocations: 15.69 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.008517, allocations: 11.98 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.008838, allocations: 130.2 kB / 0.8829 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.008882, allocations: 59.34 kB / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.008902, allocations: 0 / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.0091, allocations: 12.5 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.0091, allocations: 0 / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of Templates: time 0.002283/0.01138, allocations: 0.8045 MB / 0.8838 GB, free: 244 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.589391456916928]