Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001096/0.001096, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001275/0.001275, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.9106/0.9106, allocations: 177.1 MB / 203.5 MB, free: 5.758 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 1.731/1.731, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.625e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00114/0.001156, allocations: 0.6939 MB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.001813, allocations: 0.8237 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.001839, allocations: 7.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.00186, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.781e-05/0.001908, allocations: 7.938 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.47e-05/0.001953, allocations: 11.98 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.002011, allocations: 47.84 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.446e-05/0.002086, allocations: 19.86 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.002142, allocations: 15.98 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.002171, allocations: 23.91 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.002191, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-06/0.002196, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.002209, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.002227, allocations: 19.92 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.673e-05/0.002294, allocations: 39.92 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.002295, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002296, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.002299, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 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.0003275/0.002627, allocations: 282.2 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.002657, allocations: 12.75 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.00268, allocations: 8.891 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.716e-05/0.002748, allocations: 113.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.002756, allocations: 4.375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.002763, allocations: 4.375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.002903, allocations: 74.16 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.002909, allocations: 192 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.002916, allocations: 384 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.002919, allocations: 4.312 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.003052, allocations: 71.86 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.003272, allocations: 204.6 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.003381, allocations: 58.47 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.00345, allocations: 40.91 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.003461, allocations: 3.984 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.003477, allocations: 30.56 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.003478, allocations: 4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002676/0.003746, allocations: 125.5 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.003769, allocations: 51.41 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.219e-05/0.003821, allocations: 113.8 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.00383, allocations: 25.7 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.003862, allocations: 92.08 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.003875, allocations: 15.89 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.003899, allocations: 21.66 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.003961, allocations: 310.8 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.004029, allocations: 31.95 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.00409, allocations: 35.91 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.004455, allocations: 68.78 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.004456, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001509/0.004607, allocations: 97.58 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.004619, allocations: 11.94 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.004623, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.004631, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.004695, allocations: 27.91 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.004698, allocations: 4 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.00473, allocations: 7.984 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.004735, allocations: 4 kB / 1.005 GB, free: 9.113 MB / 0.9636 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 4.275e-05/0.004778, allocations: 105.8 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.00479, allocations: 4 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.004808, allocations: 11.94 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.004809, allocations: 0 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.004812, allocations: 0 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.004815, allocations: 7.984 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.845e-05/0.004893, allocations: 109.3 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004894, allocations: 0 / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.004932, allocations: 19.92 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.004933, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.004937, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.004939, allocations: 3.938 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004939, allocations: 0 / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.005109, allocations: 207.4 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.005114, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-06/0.005122, allocations: 4 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.005169, allocations: 15.92 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.005197, allocations: 8.359 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.005199, allocations: 4 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.00523, allocations: 79.28 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00523, allocations: 0 / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001401/0.00537, allocations: 12 kB / 1.005 GB, free: 8.469 MB / 0.9636 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 5.924e-05/0.005429, allocations: 95.25 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.005595, allocations: 75.89 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005596, allocations: 0 / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.005665, allocations: 35.91 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.005839, allocations: 12.12 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.006053, allocations: 163.2 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.00609, allocations: 67.28 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.006114, allocations: 12.5 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.006115, allocations: 0 / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of Templates: time 0.001469/0.007584, allocations: 0.7636 MB / 1.006 GB, free: 7.203 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.405822436325252]