Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 105.1 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.7491 GB, free: 3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 1.073 GB, free: 84 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7992, allocations: 159.1 MB / 1.229 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001924/0.8011, allocations: 0.7044 MB / 1.229 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.8022, allocations: 0.7962 MB / 1.23 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.8023, allocations: 4 kB / 1.23 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.8023, allocations: 7.922 kB / 1.23 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.8024, allocations: 7.938 kB / 1.23 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.58e-05/0.8025, allocations: 11.98 kB / 1.23 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.8026, allocations: 39.86 kB / 1.23 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.8027, allocations: 11.98 kB / 1.23 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.8028, allocations: 23.92 kB / 1.23 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.8028, allocations: 15.92 kB / 1.23 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.8029, allocations: 8 kB / 1.23 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.8029, allocations: 4 kB / 1.23 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.8029, allocations: 11.92 kB / 1.23 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.8029, allocations: 15.92 kB / 1.23 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.8031, allocations: 41.7 kB / 1.23 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8031, allocations: 3.938 kB / 1.23 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8031, allocations: 0 / 1.23 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8031, allocations: 0 / 1.23 GB, free: 3.059 MB / 0.9356 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.0005632/0.8036, allocations: 375.2 kB / 1.231 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8037, allocations: 8.031 kB / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.8037, allocations: 34.75 kB / 1.231 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.8038, allocations: 8.828 kB / 1.231 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.8039, allocations: 168.4 kB / 1.231 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.8039, allocations: 384 / 1.231 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.8039, allocations: 8.359 kB / 1.231 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.8042, allocations: 66.22 kB / 1.231 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8042, allocations: 7.938 kB / 1.231 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8042, allocations: 0 / 1.231 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8042, allocations: 3.938 kB / 1.231 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.8045, allocations: 63.92 kB / 1.231 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.8049, allocations: 276.8 kB / 1.231 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.8051, allocations: 54.53 kB / 1.231 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.8053, allocations: 40.91 kB / 1.231 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.8053, allocations: 0 / 1.231 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.8054, allocations: 34.56 kB / 1.231 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.8054, allocations: 4 kB / 1.231 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005411/0.8059, allocations: 125.5 kB / 1.232 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.806, allocations: 51.41 kB / 1.232 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.8061, allocations: 109.8 kB / 1.232 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.8061, allocations: 25.7 kB / 1.232 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.8061, allocations: 100 kB / 1.232 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.8062, allocations: 11.91 kB / 1.232 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.8062, allocations: 13.72 kB / 1.232 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8063, allocations: 318.8 kB / 1.232 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.8065, allocations: 31.97 kB / 1.232 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.8066, allocations: 31.97 kB / 1.232 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.8069, allocations: 72.72 kB / 1.232 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8069, allocations: 0 / 1.232 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003264/0.8073, allocations: 97.56 kB / 1.232 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.8073, allocations: 9.562 kB / 1.232 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8073, allocations: 0 / 1.232 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8073, allocations: 11.92 kB / 1.232 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.8074, allocations: 11.98 kB / 1.232 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.8075, allocations: 0 / 1.232 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.753e-05/0.8075, allocations: 15.94 kB / 1.232 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.8076, allocations: 0 / 1.232 GB, free: 0.6758 MB / 0.9356 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 7.899e-05/0.8076, allocations: 121.8 kB / 1.233 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.8077, allocations: 0 / 1.233 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.8077, allocations: 15.89 kB / 1.233 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.8077, allocations: 0 / 1.233 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.8077, allocations: 0 / 1.233 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8077, allocations: 0 / 1.233 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.8079, allocations: 169.6 kB / 1.233 GB, free: 312 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8079, allocations: 0 / 1.233 GB, free: 312 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.808, allocations: 19.92 kB / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.808, allocations: 0 / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.808, allocations: 4 kB / 1.233 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.808, allocations: 4.297 kB / 1.233 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.808, allocations: 0 / 1.233 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.8084, allocations: 191.4 kB / 1.233 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.8085, allocations: 81.05 kB / 1.233 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.8085, allocations: 12 kB / 1.233 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.8086, allocations: 12.34 kB / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.8087, allocations: 4 kB / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.8087, allocations: 0 / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.401e-05/0.8087, allocations: 95.25 kB / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8087, allocations: 0 / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002099/0.8089, allocations: 4 kB / 1.233 GB, free: 15.85 MB / 0.9512 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.0007602/0.8097, allocations: 0.7362 MB / 1.234 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.8101, allocations: 71.92 kB / 1.234 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8101, allocations: 0 / 1.234 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.8103, allocations: 39.89 kB / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.8106, allocations: 8 kB / 1.234 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.8112, allocations: 155 kB / 1.234 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.8115, allocations: 0.6884 MB / 1.235 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.8115, allocations: 0 / 1.235 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.8116, allocations: 23.36 kB / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8116, allocations: 0 / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.834, allocations: 1.628 MB / 1.236 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.723, allocations: 2.781 kB / 1.236 GB, free: 12.51 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.874855292961001]