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.001427/0.001427, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001451/0.001451, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] 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.501/2.501, allocations: 476.7 MB / 0.7628 GB, free: 15.14 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.0018/0.0018, allocations: 75.88 kB / 1.107 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7906/0.7924, allocations: 168.7 MB / 1.271 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001658/0.7941, allocations: 0.7034 MB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007335/0.7948, allocations: 0.8106 MB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.7949, allocations: 4.562 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.7949, allocations: 4.688 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.795, allocations: 6.328 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.339e-05/0.795, allocations: 13.95 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.7951, allocations: 43.2 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.7952, allocations: 8.453 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.7952, allocations: 22.03 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.7953, allocations: 22.61 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.7953, allocations: 4.094 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.7953, allocations: 11.38 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.7953, allocations: 6.625 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.7953, allocations: 13.33 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.492e-05/0.7954, allocations: 46.27 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.7954, allocations: 0.8438 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7954, allocations: 0 / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7954, allocations: 0 / 1.273 GB, free: 6.508 MB / 0.9981 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.0004165/0.7959, allocations: 365.2 kB / 1.273 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.7959, allocations: 14 kB / 1.273 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.7959, allocations: 32.16 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.7959, allocations: 11.22 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.08e-05/0.796, allocations: 164.7 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.796, allocations: 1.125 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.796, allocations: 6.031 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.7962, allocations: 68.86 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7963, allocations: 4.75 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.7963, allocations: 4 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.7963, allocations: 0.8125 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.7965, allocations: 62.83 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.7968, allocations: 274.8 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.797, allocations: 62.31 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.7971, allocations: 38.45 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.7971, allocations: 0 / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.139e-05/0.7972, allocations: 32.09 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.7972, allocations: 0 / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004747/0.7976, allocations: 127.2 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.7976, allocations: 52.22 kB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.7977, allocations: 112.7 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.914e-06/0.7977, allocations: 30.48 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.7977, allocations: 93.78 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.7978, allocations: 9.609 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.7978, allocations: 13.41 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.7978, allocations: 318.4 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.798, allocations: 39.19 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.7981, allocations: 26.73 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.7983, allocations: 77.28 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7983, allocations: 0.5625 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002838/0.7986, allocations: 98.02 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7986, allocations: 5.594 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.7986, allocations: 4 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7987, allocations: 5.719 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.7988, allocations: 15.14 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.7988, allocations: 0.5312 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.7988, allocations: 15.5 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.7989, allocations: 1.641 kB / 1.275 GB, free: 4.676 MB / 0.9981 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.332e-05/0.7989, allocations: 116.3 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.7989, allocations: 5.969 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.7989, allocations: 5.641 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.7989, allocations: 2.188 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7989, allocations: 0 / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7989, allocations: 0.75 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.7991, allocations: 175.8 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7991, allocations: 0 / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.7992, allocations: 16.3 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7992, allocations: 0.9375 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.7992, allocations: 0 / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7992, allocations: 4.906 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7992, allocations: 0 / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.7995, allocations: 201.9 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.7995, allocations: 79.2 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.7995, allocations: 0 / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.7996, allocations: 16.05 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.7996, allocations: 7.75 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.7996, allocations: 2.484 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.553e-05/0.7997, allocations: 82.88 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7997, allocations: 0 / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002006/0.7999, allocations: 10.47 kB / 1.276 GB, free: 4 MB / 0.9981 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.000474/0.8003, allocations: 0.7356 MB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.8006, allocations: 70.45 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8006, allocations: 0 / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.8008, allocations: 34.23 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.801, allocations: 15.17 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.8014, allocations: 158.6 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.905e-05/0.8015, allocations: 0.6857 MB / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.8015, allocations: 0.7812 kB / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.8015, allocations: 18.03 kB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.8015, allocations: 0.9062 kB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.824, allocations: 1.61 MB / 1.279 GB, free: 18.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/7.638, allocations: 9.562 kB / 1.279 GB, free: 18.04 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 12.971063369999683]