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.001574/0.001574, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002186/0.002186, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.789 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.94/2.94, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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: 67.25 kB / 1.117 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 170 MB / 1.283 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002061/0.3245, allocations: 0.6962 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3255, allocations: 0.8277 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.3256, allocations: 4 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.3256, allocations: 3.938 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.3257, allocations: 3.938 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.997e-05/0.3257, allocations: 11.98 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3258, allocations: 55.78 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.326, allocations: 13.67 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.326, allocations: 15.92 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.3261, allocations: 15.92 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3261, allocations: 4 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.3261, allocations: 4 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.3261, allocations: 4 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.3261, allocations: 15.92 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3263, allocations: 51.31 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3263, allocations: 4 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3263, allocations: 4 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3263, allocations: 0 / 1.284 GB, free: 10.52 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.0005769/0.3268, allocations: 282.2 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3269, allocations: 8.031 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.3269, allocations: 30.75 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.327, allocations: 8.891 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3271, allocations: 122.4 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.3271, allocations: 4.312 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3271, allocations: 4.375 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.3274, allocations: 74.22 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3274, allocations: 3.938 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3274, allocations: 0 / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3274, allocations: 3.984 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.3277, allocations: 59.94 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.3281, allocations: 236 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3283, allocations: 54.48 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.3285, allocations: 40.91 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3285, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3285, allocations: 30.56 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.3285, allocations: 0 / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005447/0.3291, allocations: 133.7 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3291, allocations: 59.34 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.3292, allocations: 109.8 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3292, allocations: 25.7 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.3293, allocations: 88.08 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.3293, allocations: 7.953 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.3293, allocations: 13.72 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3295, allocations: 322.8 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3296, allocations: 31.97 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3297, allocations: 35.94 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.33, allocations: 68.73 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.33, allocations: 4 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003305/0.3303, allocations: 101.5 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3303, allocations: 7.984 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3304, allocations: 3.938 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3304, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3305, allocations: 15.98 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3305, allocations: 4 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.3306, allocations: 11.98 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3306, allocations: 0 / 1.286 GB, free: 8.355 MB / 0.9825 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.096e-05/0.3307, allocations: 113.8 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.3307, allocations: 4 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.3307, allocations: 7.984 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3307, allocations: 0 / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3307, allocations: 0 / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3307, allocations: 4 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3309, allocations: 140.6 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3309, allocations: 4 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.331, allocations: 11.98 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.331, allocations: 0 / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.331, allocations: 4 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.331, allocations: 3.984 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.331, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.3314, allocations: 199.4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.3314, allocations: 7.938 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3314, allocations: 4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3315, allocations: 11.98 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3316, allocations: 3.984 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3316, allocations: 0 / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.3316, allocations: 91.27 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3316, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002184/0.3318, allocations: 7.953 kB / 1.287 GB, free: 7.676 MB / 0.9825 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.0006863/0.3325, allocations: 0.7319 MB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3328, allocations: 63.92 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3328, allocations: 3.938 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.333, allocations: 39.97 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3333, allocations: 4 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.3338, allocations: 166.5 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.867e-05/0.3339, allocations: 67.28 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.3339, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.334, allocations: 19.42 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.334, allocations: 4 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.363, allocations: 2.177 MB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.88, allocations: 7.734 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable div1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! Error: Could not read variable div1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.879310473799706]