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.001741/0.001741, allocations: 110.2 kB / 16.45 MB, free: 6.453 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.002159/0.002159, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.572/1.572, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] 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 3.432/3.432, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_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.002326/0.002326, allocations: 71.52 kB / 1.172 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3948, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002355/0.3972, allocations: 0.7139 MB / 1.349 GB, free: 9.316 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3984, allocations: 0.8281 MB / 1.349 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.3984, allocations: 4 kB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.3984, allocations: 3.938 kB / 1.349 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.874e-05/0.3985, allocations: 11.88 kB / 1.349 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.982e-05/0.3986, allocations: 7.984 kB / 1.349 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3987, allocations: 51.84 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3988, allocations: 0 / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.3989, allocations: 19.98 kB / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.3989, allocations: 19.86 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.3989, allocations: 4 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.399, allocations: 4 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.399, allocations: 11.97 kB / 1.349 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.399, allocations: 23.92 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.3991, allocations: 48.03 kB / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3991, allocations: 0 / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3991, allocations: 0 / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.3991, allocations: 0 / 1.35 GB, free: 8.27 MB / 1.045 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.0006446/0.3998, allocations: 359.3 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3998, allocations: 15.98 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.3999, allocations: 38.69 kB / 1.35 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.3999, allocations: 4.938 kB / 1.35 GB, free: 7.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.4001, allocations: 180.2 kB / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4001, allocations: 384 / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.4001, allocations: 4.375 kB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.4004, allocations: 66.22 kB / 1.35 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4004, allocations: 7.875 kB / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4004, allocations: 0 / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4004, allocations: 4 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.4007, allocations: 63.92 kB / 1.35 GB, free: 7.438 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.4011, allocations: 280.8 kB / 1.351 GB, free: 7.113 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.4013, allocations: 50.53 kB / 1.351 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.4015, allocations: 40.92 kB / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.4015, allocations: 0 / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4016, allocations: 34.56 kB / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.4016, allocations: 0 / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005537/0.4021, allocations: 133.5 kB / 1.351 GB, free: 6.832 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.4021, allocations: 51.41 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4023, allocations: 109.8 kB / 1.351 GB, free: 6.652 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4023, allocations: 25.7 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.4023, allocations: 84.14 kB / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.4023, allocations: 11.91 kB / 1.351 GB, free: 6.523 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.4024, allocations: 13.72 kB / 1.351 GB, free: 6.504 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4025, allocations: 326.8 kB / 1.351 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4027, allocations: 27.97 kB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4028, allocations: 35.95 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.4031, allocations: 76.94 kB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4031, allocations: 3.984 kB / 1.351 GB, free: 6.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003207/0.4034, allocations: 93.62 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4034, allocations: 4 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4034, allocations: 4 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4035, allocations: 0 / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4036, allocations: 15.98 kB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.4036, allocations: 4 kB / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.4037, allocations: 11.98 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4037, allocations: 0 / 1.352 GB, free: 5.895 MB / 1.045 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.648e-05/0.4038, allocations: 121.8 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4038, allocations: 3.953 kB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.4038, allocations: 11.91 kB / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4038, allocations: 0 / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4038, allocations: 4 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4038, allocations: 0 / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.404, allocations: 169.6 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.404, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.4041, allocations: 23.91 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4041, allocations: 0 / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4041, allocations: 0 / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4041, allocations: 0 / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4041, allocations: 3.938 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.4045, allocations: 191.4 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.4046, allocations: 92.98 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.4046, allocations: 4 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4047, allocations: 7.984 kB / 1.352 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.4047, allocations: 4 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4047, allocations: 4 kB / 1.352 GB, free: 5.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.4048, allocations: 91.27 kB / 1.352 GB, free: 5.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4048, allocations: 0 / 1.352 GB, free: 5.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002138/0.405, allocations: 4 kB / 1.352 GB, free: 5.066 MB / 1.045 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.0007325/0.4057, allocations: 0.7319 MB / 1.353 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.4061, allocations: 71.86 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4061, allocations: 0 / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4062, allocations: 39.91 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4066, allocations: 11.98 kB / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.407, allocations: 153.3 kB / 1.353 GB, free: 4 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4073, allocations: 0.6846 MB / 1.354 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.4073, allocations: 0 / 1.354 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.4074, allocations: 19.44 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4074, allocations: 0 / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.4328, allocations: 1.644 MB / 1.356 GB, free: 1.723 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.521, allocations: 0 / 1.356 GB, free: 1.723 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/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] "Error: Could not read variable div1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! Error: Could not read variable div1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.901556875091046]