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.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.001932/0.001932, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002301/0.002301, allocations: 215 kB / 22.25 MB, free: 5.117 MB / 14.72 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.919/2.919, allocations: 476.8 MB / 0.7707 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 71.52 kB / 1.117 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 169.9 MB / 1.283 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001981/0.3541, allocations: 0.7093 MB / 1.284 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3551, allocations: 0.8319 MB / 1.285 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.3552, allocations: 8 kB / 1.285 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.3552, allocations: 0 / 1.285 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.3553, allocations: 7.875 kB / 1.285 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.014e-05/0.3553, allocations: 11.98 kB / 1.285 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3554, allocations: 47.84 kB / 1.285 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3555, allocations: 7.984 kB / 1.285 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.3556, allocations: 15.98 kB / 1.285 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.3556, allocations: 23.86 kB / 1.285 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3557, allocations: 4 kB / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.3557, allocations: 4 kB / 1.285 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.3557, allocations: 11.98 kB / 1.285 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.3557, allocations: 11.94 kB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.3558, allocations: 59.94 kB / 1.285 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3558, allocations: 3.938 kB / 1.285 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3558, allocations: 0 / 1.285 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3558, allocations: 0 / 1.285 GB, free: 1.938 MB / 0.9825 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.0005078/0.3563, allocations: 286.2 kB / 1.285 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3564, allocations: 8.031 kB / 1.285 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.3564, allocations: 34.75 kB / 1.285 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.3564, allocations: 8.938 kB / 1.285 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3566, allocations: 122.4 kB / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3566, allocations: 384 / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.3566, allocations: 384 / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3568, allocations: 70.22 kB / 1.286 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3568, allocations: 3.938 kB / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3569, allocations: 0 / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3569, allocations: 4 kB / 1.286 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.3571, allocations: 71.84 kB / 1.286 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.3575, allocations: 232 kB / 1.286 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3577, allocations: 58.53 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.3578, allocations: 36.91 kB / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3579, allocations: 0 / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.3579, allocations: 42.5 kB / 1.286 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3579, allocations: 0 / 1.286 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004971/0.3584, allocations: 129.5 kB / 1.286 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3584, allocations: 51.41 kB / 1.286 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.3585, allocations: 105.8 kB / 1.286 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3585, allocations: 25.7 kB / 1.286 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.3586, allocations: 92.12 kB / 1.286 GB, free: 420 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3586, allocations: 3.953 kB / 1.286 GB, free: 416 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3587, allocations: 21.72 kB / 1.286 GB, free: 388 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3588, allocations: 314.8 kB / 1.287 GB, free: 64 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3589, allocations: 35.95 kB / 1.287 GB, free: 28 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3591, allocations: 32.08 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3593, allocations: 80.66 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3593, allocations: 0 / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002987/0.3596, allocations: 97.58 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3596, allocations: 4 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3596, allocations: 0 / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3597, allocations: 4 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3598, allocations: 19.97 kB / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3598, allocations: 0 / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.3599, allocations: 11.98 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3599, allocations: 4 kB / 1.287 GB, free: 15.77 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 8.157e-05/0.3599, allocations: 113.7 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.36, allocations: 7.938 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.36, allocations: 12 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.36, allocations: 3.984 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.36, allocations: 0 / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.36, allocations: 4 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.3602, allocations: 148.6 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3602, allocations: 0 / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.3603, allocations: 11.98 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3603, allocations: 0 / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3603, allocations: 0 / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3603, allocations: 4 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3603, allocations: 4 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.3606, allocations: 191.7 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.3606, allocations: 7.953 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.3607, allocations: 0 / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3608, allocations: 15.98 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.3608, allocations: 15.95 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3608, allocations: 0 / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.3609, allocations: 87.27 kB / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3609, allocations: 0 / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002139/0.3611, allocations: 8 kB / 1.288 GB, free: 15.07 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.0006371/0.3617, allocations: 0.7202 MB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.3621, allocations: 71.69 kB / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3621, allocations: 8 kB / 1.288 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3623, allocations: 35.95 kB / 1.288 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3626, allocations: 6.188 kB / 1.288 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.363, allocations: 155.2 kB / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3633, allocations: 0.6807 MB / 1.289 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.3633, allocations: 4 kB / 1.289 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.3634, allocations: 15.42 kB / 1.289 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3634, allocations: 0 / 1.289 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.3903, allocations: 1.74 MB / 1.291 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.61, allocations: 5.484 kB / 1.291 GB, free: 11.68 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.490517014171928]