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.0009727/0.0009727, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00107/0.00107, allocations: 173 kB / 23.5 MB, free: 1.055 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.049/2.049, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.874e-06/1.874e-06, allocations: 0 / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.097e-05, allocations: 3.406 kB / 0.8783 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001202/0.001223, allocations: 0.7233 MB / 0.879 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.002073, allocations: 0.9125 MB / 0.8799 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.002107, allocations: 0 / 0.8799 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.002131, allocations: 8.688 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.002199, allocations: 13.94 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.002353, allocations: 15.97 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.002428, allocations: 44.42 kB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.00252, allocations: 12.67 kB / 0.8799 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.0026, allocations: 27.97 kB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.002639, allocations: 17.27 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.002661, allocations: 4 kB / 0.88 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.00267, allocations: 4 kB / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.002687, allocations: 7.984 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.002707, allocations: 9.031 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.002791, allocations: 35.83 kB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002793, allocations: 0 / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.52e-07/0.002793, allocations: 1.094 kB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.002797, allocations: 0 / 0.88 GB, free: 4.738 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.0003475/0.003145, allocations: 381.6 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.003181, allocations: 8.031 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.003216, allocations: 4.938 kB / 0.8804 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.003349, allocations: 121.6 kB / 0.8805 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003359, allocations: 384 / 0.8805 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.003368, allocations: 4.375 kB / 0.8805 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.003496, allocations: 67.72 kB / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.003502, allocations: 0.6875 kB / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.003511, allocations: 384 / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.003518, allocations: 5.984 kB / 0.8806 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.003549, allocations: 15.88 kB / 0.8806 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.003822, allocations: 259.8 kB / 0.8809 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.003892, allocations: 36.25 kB / 0.8809 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.003916, allocations: 7.688 kB / 0.8809 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.003933, allocations: 4 kB / 0.8809 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.003952, allocations: 38.42 kB / 0.881 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.003953, allocations: 0 / 0.881 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001489/0.004102, allocations: 57.61 kB / 0.881 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.004129, allocations: 56.06 kB / 0.8811 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.004201, allocations: 165.9 kB / 0.8812 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.004212, allocations: 31.3 kB / 0.8813 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.004254, allocations: 130.9 kB / 0.8814 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.004276, allocations: 19.84 kB / 0.8814 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.004301, allocations: 15.38 kB / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.004401, allocations: 0.4913 MB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.004418, allocations: 3.984 kB / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.00443, allocations: 4 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.004463, allocations: 19.62 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004465, allocations: 0 / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.595e-05/0.004521, allocations: 41.69 kB / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.004534, allocations: 11.94 kB / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.00454, allocations: 4 kB / 0.882 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.00455, allocations: 1.562 kB / 0.882 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.004623, allocations: 11.98 kB / 0.882 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.004628, allocations: 0 / 0.882 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.004649, allocations: 4.625 kB / 0.882 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.004655, allocations: 0 / 0.882 GB, free: 2.547 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 5.729e-05/0.004713, allocations: 166.2 kB / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.004726, allocations: 3.953 kB / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.004753, allocations: 19.92 kB / 0.8822 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.004755, allocations: 0 / 0.8822 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.004758, allocations: 0.9062 kB / 0.8822 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.00476, allocations: 0 / 0.8822 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.005008, allocations: 121.2 kB / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.005009, allocations: 0 / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.005039, allocations: 15.98 kB / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005041, allocations: 0 / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.005047, allocations: 0 / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.005049, allocations: 3.938 kB / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005049, allocations: 0 / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.727e-05/0.005147, allocations: 192.3 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.005152, allocations: 4 kB / 0.8825 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.005163, allocations: 3.984 kB / 0.8825 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.005207, allocations: 11.88 kB / 0.8825 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.005254, allocations: 15.92 kB / 0.8825 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.005258, allocations: 4 kB / 0.8825 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.005309, allocations: 131.2 kB / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.005309, allocations: 0 / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001629/0.005472, allocations: 4 kB / 0.8827 GB, free: 1.801 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 7.14e-05/0.005543, allocations: 95.25 kB / 0.8828 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.358e-05/0.005627, allocations: 23.67 kB / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005628, allocations: 0 / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.00565, allocations: 11.69 kB / 0.8828 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.005839, allocations: 19.94 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.006096, allocations: 130.3 kB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.006129, allocations: 55.36 kB / 0.883 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.799e-05/0.006147, allocations: 3.984 kB / 0.883 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.006174, allocations: 12.5 kB / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of SimCode: time 7.02e-07/0.006175, allocations: 0 / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of Templates: time 0.002114/0.008289, allocations: 0.8052 MB / 0.8838 GB, free: 0.6016 MB / 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.402935647172853]