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.001443/0.001443, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.00167/0.00167, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.897/2.897, allocations: 377.8 MB / 0.6232 GB, free: 8.57 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.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.454e-06/2.454e-06, allocations: 0 / 0.8109 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.373e-05, allocations: 3.531 kB / 0.8109 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002084/0.002118, allocations: 0.6923 MB / 0.8115 GB, free: 232 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003411, allocations: 0.8324 MB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.003453, allocations: 0 / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.003482, allocations: 0 / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.003573, allocations: 12.72 kB / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.531e-05/0.003639, allocations: 8.547 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.003739, allocations: 43.86 kB / 0.8124 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.003839, allocations: 13.08 kB / 0.8124 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.004055, allocations: 23.98 kB / 0.8125 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.004101, allocations: 15.92 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.004121, allocations: 4.562 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.004131, allocations: 4.656 kB / 0.8125 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.004159, allocations: 15.97 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.004189, allocations: 8.594 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.0043, allocations: 39.92 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.004308, allocations: 4.812 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004308, allocations: 0 / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.004313, allocations: 4.969 kB / 0.8126 GB, free: 15.19 MB / 0.7292 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.0005687/0.004882, allocations: 282.8 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.004922, allocations: 12.8 kB / 0.8128 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.004968, allocations: 8.891 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.005091, allocations: 111.3 kB / 0.8129 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.005106, allocations: 4.375 kB / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.005118, allocations: 4.375 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.005382, allocations: 71.25 kB / 0.813 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.0054, allocations: 192 / 0.813 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.00541, allocations: 384 / 0.813 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.005415, allocations: 1.156 kB / 0.813 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.005721, allocations: 73.48 kB / 0.8131 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.006108, allocations: 212.6 kB / 0.8133 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.006321, allocations: 56 kB / 0.8134 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.006493, allocations: 42.06 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.006509, allocations: 0 / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.006553, allocations: 39.92 kB / 0.8134 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.006553, allocations: 0 / 0.8134 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005791/0.007132, allocations: 131.2 kB / 0.8136 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.007185, allocations: 55.97 kB / 0.8136 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.007303, allocations: 113.7 kB / 0.8137 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.007334, allocations: 26.67 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.007398, allocations: 88.14 kB / 0.8138 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.007431, allocations: 15.83 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.007471, allocations: 18.25 kB / 0.8139 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.007641, allocations: 312.2 kB / 0.8142 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.007799, allocations: 35.95 kB / 0.8142 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.007933, allocations: 30.56 kB / 0.8142 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.008217, allocations: 72.72 kB / 0.8143 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008219, allocations: 0.5312 kB / 0.8143 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000342/0.008561, allocations: 96.53 kB / 0.8144 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.008578, allocations: 7.938 kB / 0.8144 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.008583, allocations: 0 / 0.8144 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.008604, allocations: 0 / 0.8144 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.008738, allocations: 16.48 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.008745, allocations: 4.578 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.008836, allocations: 20.72 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.008842, allocations: 0 / 0.8144 GB, free: 13.11 MB / 0.7292 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 9.582e-05/0.008938, allocations: 110.3 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.008962, allocations: 1.125 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.008992, allocations: 11.94 kB / 0.8145 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008994, allocations: 4 kB / 0.8146 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.008998, allocations: 4.844 kB / 0.8146 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.009, allocations: 0 / 0.8146 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.00916, allocations: 110.2 kB / 0.8147 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.009161, allocations: 0 / 0.8147 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.009272, allocations: 18.19 kB / 0.8147 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009274, allocations: 0 / 0.8147 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.009286, allocations: 8 kB / 0.8147 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.00929, allocations: 7.875 kB / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009291, allocations: 0 / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.009699, allocations: 194.2 kB / 0.8149 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.009712, allocations: 7.984 kB / 0.8149 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.009725, allocations: 0 / 0.8149 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.009836, allocations: 15.92 kB / 0.8149 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.009889, allocations: 5.844 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.009892, allocations: 0 / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.009965, allocations: 95.2 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.009965, allocations: 0 / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002252/0.01019, allocations: 8.5 kB / 0.815 GB, free: 12.47 MB / 0.7292 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.0001513/0.01034, allocations: 91.97 kB / 0.8151 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.01069, allocations: 73.78 kB / 0.8152 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01069, allocations: 1.344 kB / 0.8152 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.01084, allocations: 35.95 kB / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.01118, allocations: 11.09 kB / 0.8152 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.01156, allocations: 137.1 kB / 0.8153 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.333e-05/0.01163, allocations: 63.88 kB / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.01166, allocations: 3.688 kB / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.0117, allocations: 12.5 kB / 0.8154 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.0117, allocations: 0 / 0.8154 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.003467/0.01517, allocations: 0.7396 MB / 0.8161 GB, free: 11.3 MB / 0.7292 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.814335530041717]