Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.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.0009865/0.0009865, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001011/0.001011, allocations: 165 kB / 24.17 MB, free: 328 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.9811/0.9811, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7601 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.668e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002076/0.002103, allocations: 0.7634 MB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003262, allocations: 0.8517 MB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.003308, allocations: 0.6875 kB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.00334, allocations: 3.938 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.003423, allocations: 8.031 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.961e-05/0.003492, allocations: 11.98 kB / 0.7617 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.003582, allocations: 44.95 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.003671, allocations: 11.98 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.003768, allocations: 22.88 kB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.003815, allocations: 17.5 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.003833, allocations: 4.688 kB / 0.7618 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.003841, allocations: 4 kB / 0.7618 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.003861, allocations: 7.531 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.003885, allocations: 13.52 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.272e-05/0.003978, allocations: 41.36 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00398, allocations: 3.938 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003981, allocations: 0 / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.003986, allocations: 1.094 kB / 0.7619 GB, free: 4.703 MB / 0.7136 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.0003613/0.004347, allocations: 240.9 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.004387, allocations: 10.09 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.00442, allocations: 8.938 kB / 0.7621 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.004535, allocations: 113.7 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.004544, allocations: 384 / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004555, allocations: 8.359 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.004695, allocations: 63.69 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.004705, allocations: 192 / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.004713, allocations: 1.125 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004719, allocations: 384 / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.004747, allocations: 12.44 kB / 0.7623 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.004995, allocations: 158.2 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.005059, allocations: 26.56 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.005077, allocations: 4.859 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.005087, allocations: 4 kB / 0.7625 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.005111, allocations: 35.97 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005113, allocations: 0 / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001302/0.005243, allocations: 49.69 kB / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.005276, allocations: 55.39 kB / 0.7627 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.005345, allocations: 107.8 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.005356, allocations: 25.7 kB / 0.7628 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.005397, allocations: 92.08 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.005418, allocations: 4.984 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.005452, allocations: 21.7 kB / 0.7629 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.005545, allocations: 314.8 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.005559, allocations: 5 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.005573, allocations: 7.938 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.005605, allocations: 15 kB / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005607, allocations: 0 / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.325e-05/0.00567, allocations: 33.98 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.00569, allocations: 13.7 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005694, allocations: 0 / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.005712, allocations: 11.91 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.005783, allocations: 10.75 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.005786, allocations: 0 / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.005818, allocations: 11.98 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.005822, allocations: 0 / 0.7633 GB, free: 3.121 MB / 0.7136 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.949e-05/0.005892, allocations: 117.8 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.005912, allocations: 0 / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.005935, allocations: 13.5 kB / 0.7634 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.005939, allocations: 3.938 kB / 0.7634 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.005941, allocations: 3.984 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005944, allocations: 0 / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.006058, allocations: 69.89 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006059, allocations: 0.9375 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.006097, allocations: 11.98 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006099, allocations: 0.9375 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.006103, allocations: 0 / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.006104, allocations: 0.5 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006105, allocations: 0 / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.668e-05/0.006202, allocations: 142.8 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.006211, allocations: 7.953 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.006221, allocations: 7.922 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.006279, allocations: 4 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.006315, allocations: 3.984 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.006322, allocations: 11.94 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.722e-05/0.006339, allocations: 12.84 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006339, allocations: 0 / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001994/0.006538, allocations: 10.47 kB / 0.7637 GB, free: 2.668 MB / 0.7136 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.587e-05/0.006624, allocations: 76.41 kB / 0.7638 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.006698, allocations: 12.86 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.0067, allocations: 0 / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.006726, allocations: 16.8 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.006941, allocations: 17.47 kB / 0.7638 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.007209, allocations: 132.2 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.00725, allocations: 63.28 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.007277, allocations: 4 kB / 0.764 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.007335, allocations: 55.31 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.007336, allocations: 0 / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of Templates: time 0.002561/0.009898, allocations: 0.6786 MB / 0.7647 GB, free: 1.598 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.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.127763829659671]