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.001424/0.001424, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00153/0.00153, allocations: 213.3 kB / 22.24 MB, free: 5.262 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.785 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.27/3.27, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.002126/0.002126, allocations: 63.73 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3467, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00204/0.3487, allocations: 0.7088 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3497, allocations: 0.8319 MB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.3498, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3498, allocations: 3.938 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.3499, allocations: 7.938 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.053e-05/0.35, allocations: 15.98 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.3501, allocations: 35.92 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3502, allocations: 11.98 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.3502, allocations: 19.91 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.3503, allocations: 19.92 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3503, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.3503, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.3503, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.3504, allocations: 19.92 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.3505, allocations: 55.97 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3505, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3505, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3505, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 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.0005111/0.351, allocations: 282.2 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.351, allocations: 12.03 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.3511, allocations: 30.75 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.3511, allocations: 4.891 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3512, allocations: 122.5 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3512, allocations: 4.375 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.3512, allocations: 4.375 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3514, allocations: 70.16 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3515, allocations: 3.938 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3515, allocations: 7.922 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3515, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.3518, allocations: 59.94 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.3522, allocations: 236 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.3524, allocations: 58.53 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.3525, allocations: 36.91 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3526, allocations: 3.938 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3526, allocations: 34.56 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3526, allocations: 4 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005559/0.3531, allocations: 125.6 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3532, allocations: 51.41 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.3533, allocations: 109.8 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3533, allocations: 25.7 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.3534, allocations: 88.09 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3534, allocations: 11.95 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3534, allocations: 13.72 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3536, allocations: 322.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3537, allocations: 31.97 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3539, allocations: 35.89 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3541, allocations: 72.73 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3541, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003145/0.3545, allocations: 101.6 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3545, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3545, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3545, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3546, allocations: 19.98 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3546, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.3547, allocations: 15.94 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3547, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 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.666e-05/0.3548, allocations: 121.7 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3548, allocations: 3.984 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.3549, allocations: 4 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3549, allocations: 4 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3549, allocations: 0 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3549, allocations: 4 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3551, allocations: 140.6 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3551, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.3552, allocations: 15.98 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3552, allocations: 0 / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3552, allocations: 3.984 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3552, allocations: 3.938 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3552, allocations: 0 / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.3556, allocations: 199.4 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.3556, allocations: 4.375 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.3556, allocations: 3.938 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3557, allocations: 15.97 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3557, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3557, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.3558, allocations: 91.27 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3558, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002229/0.356, allocations: 12 kB / 1.368 GB, free: 9.402 MB / 1.061 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.0007397/0.3568, allocations: 0.728 MB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3571, allocations: 71.8 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3571, allocations: 4 kB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.3572, allocations: 35.97 kB / 1.368 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3575, allocations: 4 kB / 1.368 GB, free: 8.535 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.358, allocations: 151.2 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.103e-05/0.358, allocations: 63.34 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.3581, allocations: 4 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.3581, allocations: 15.42 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3581, allocations: 4 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.3959, allocations: 2.186 MB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.04, allocations: 2.375 kB / 1.371 GB, free: 6.191 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.062687362078577]