Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001391/0.001391, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001572/0.001572, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.294/3.294, allocations: 0.49 GB / 0.7951 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_12_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.002616/0.002616, allocations: 66.58 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4178, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001947/0.4197, allocations: 0.7206 MB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.4207, allocations: 0.832 MB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.4208, allocations: 0 / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.4208, allocations: 7.938 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.4209, allocations: 15.86 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.827e-05/0.4209, allocations: 11.98 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.421, allocations: 43.84 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4211, allocations: 8 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.4212, allocations: 23.92 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.4213, allocations: 15.92 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.4213, allocations: 4 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.4213, allocations: 4 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.4213, allocations: 7.984 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.4213, allocations: 23.88 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.4214, allocations: 44.08 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4214, allocations: 0 / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4214, allocations: 0 / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4214, allocations: 0 / 1.328 GB, free: 176 kB / 1.014 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.000546/0.422, allocations: 286.2 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.422, allocations: 15.97 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.4221, allocations: 34.75 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.096e-05/0.4221, allocations: 4.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.4223, allocations: 114.4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4223, allocations: 4.375 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.4223, allocations: 4.359 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.4225, allocations: 66.22 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4225, allocations: 3.938 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4225, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4225, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.4228, allocations: 67.86 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.4232, allocations: 236 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.4234, allocations: 58.53 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.4235, allocations: 36.92 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4235, allocations: 3.984 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4236, allocations: 30.56 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4236, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005076/0.4241, allocations: 133.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4241, allocations: 55.41 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.4242, allocations: 109.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4242, allocations: 29.64 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.4243, allocations: 92.12 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.4243, allocations: 3.953 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.4244, allocations: 21.72 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4245, allocations: 310.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4247, allocations: 31.95 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4248, allocations: 31.97 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.425, allocations: 80.92 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.425, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002958/0.4253, allocations: 97.58 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4254, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4254, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4254, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.4255, allocations: 23.97 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4255, allocations: 4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.4256, allocations: 7.984 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.4256, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 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.476e-05/0.4257, allocations: 114.3 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4257, allocations: 3.953 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.4257, allocations: 12 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4257, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4257, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4257, allocations: 3.984 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.4259, allocations: 148.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4259, allocations: 3.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/0.426, allocations: 15.98 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.426, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.426, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.426, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.426, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.4264, allocations: 199.4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.4264, allocations: 7.953 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.4264, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4265, allocations: 11.98 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4265, allocations: 7.984 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.4265, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.4266, allocations: 91.22 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4266, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002137/0.4268, allocations: 11.98 kB / 1.33 GB, free: 13.3 MB / 1.029 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.0006768/0.4275, allocations: 0.7279 MB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.4278, allocations: 63.92 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4278, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4279, allocations: 43.89 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.4283, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.4287, allocations: 151.2 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.429, allocations: 0.6807 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.4291, allocations: 4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.4291, allocations: 15.44 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4291, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.457, allocations: 1.741 MB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.18, allocations: 6.5 kB / 1.334 GB, free: 9.91 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! Error: Could not read variable div1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.412292545999662]