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.001026/0.001026, allocations: 81.95 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.001058/0.001058, 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.9709/0.9709, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.941/1.941, allocations: 377.9 MB / 0.6239 GB, free: 8.434 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 4.659e-06/4.659e-06, allocations: 4 kB / 0.8121 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.337e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001472/0.001505, allocations: 0.7117 MB / 0.8128 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.002475, allocations: 0.9146 MB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.002522, allocations: 0 / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.002557, allocations: 3.938 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.002639, allocations: 11.88 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.002801, allocations: 17.08 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.002866, allocations: 47.83 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.002953, allocations: 13.44 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.003039, allocations: 19.98 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.003076, allocations: 15.97 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003094, allocations: 7.938 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.003102, allocations: 4.531 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.003118, allocations: 7.938 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.003139, allocations: 12.7 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.003208, allocations: 35.89 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00321, allocations: 0.5312 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003211, allocations: 1.594 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003215, allocations: 0 / 0.8139 GB, free: 15.6 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.0003113/0.003526, allocations: 372.6 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.00357, allocations: 12.03 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.003596, allocations: 9.516 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.031e-05/0.003666, allocations: 117.3 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.003675, allocations: 4.375 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.003683, allocations: 5 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.003799, allocations: 63.5 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.003806, allocations: 8.109 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.003812, allocations: 1.094 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.003817, allocations: 384 / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.003838, allocations: 13.3 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.00405, allocations: 240.4 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.004099, allocations: 35.06 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.004118, allocations: 21.44 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.004133, allocations: 0 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.004152, allocations: 37.47 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.004152, allocations: 0 / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001099/0.004262, allocations: 43.86 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.004288, allocations: 55.39 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.00435, allocations: 173.9 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.004359, allocations: 25.7 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.004403, allocations: 134.8 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.004419, allocations: 15.83 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.004448, allocations: 22.59 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.004551, allocations: 0.4884 MB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.004563, allocations: 3.938 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.004574, allocations: 4 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.004599, allocations: 15.67 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0046, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.929e-05/0.00465, allocations: 49.64 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-06/0.004659, allocations: 4 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004663, allocations: 1.125 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.004675, allocations: 3.938 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.004736, allocations: 11.98 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.004739, allocations: 4.469 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.00476, allocations: 4.531 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.004765, allocations: 4 kB / 0.8158 GB, free: 13.44 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.297e-05/0.004828, allocations: 158.1 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.004841, allocations: 4 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.004868, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.004871, allocations: 4.906 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.004873, allocations: 0 / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.004876, allocations: 336 / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.678e-05/0.004973, allocations: 103.6 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.004974, allocations: 0 / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.004998, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005007, allocations: 7.984 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005008, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.00501, allocations: 4.797 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.005113, allocations: 207.8 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.005119, allocations: 0.9375 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.005126, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.005161, allocations: 5.219 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.005196, allocations: 15.92 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.005199, allocations: 0 / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.005235, allocations: 132.4 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005236, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001389/0.005374, allocations: 11.94 kB / 0.8164 GB, free: 12.73 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 8.432e-05/0.005459, allocations: 92.19 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.694e-05/0.005526, allocations: 24.73 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005527, allocations: 0 / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.005547, allocations: 19.62 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.005731, allocations: 5.031 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.005938, allocations: 127.4 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.005966, allocations: 56.39 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.005983, allocations: 4 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.006033, allocations: 75.22 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.006033, allocations: 0 / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.002184/0.008217, allocations: 0.8677 MB / 0.8177 GB, free: 11.43 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.2021329761482775]