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.001313/0.001313, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001544/0.001544, allocations: 217.6 kB / 23.05 MB, free: 5.074 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.197/3.197, allocations: 0.49 GB / 0.7959 GB, free: 33.33 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="cs",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.002065/0.002065, allocations: 72.14 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4376, allocations: 176.1 MB / 1.327 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002448/0.4401, allocations: 0.7121 MB / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.4416, allocations: 0.8397 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.4416, allocations: 4 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.38e-05/0.4417, allocations: 3.938 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.939e-05/0.4418, allocations: 15.91 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.825e-05/0.4418, allocations: 7.984 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.442, allocations: 47.86 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4421, allocations: 7.984 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.4422, allocations: 15.94 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.4423, allocations: 27.84 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.4423, allocations: 4 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.4423, allocations: 4 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.4423, allocations: 8 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.4424, allocations: 19.86 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.4425, allocations: 44.08 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4425, allocations: 0 / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4425, allocations: 0 / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.4425, allocations: 4 kB / 1.328 GB, free: 124 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.0006337/0.4431, allocations: 290.2 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4432, allocations: 8.031 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.4432, allocations: 192 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.4432, allocations: 38.73 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.4433, allocations: 0.9375 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4434, allocations: 114.4 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4434, allocations: 4.375 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.4434, allocations: 4.375 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.4437, allocations: 77.89 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4437, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4437, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4437, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.444, allocations: 63.92 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.4444, allocations: 240 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.4447, allocations: 54.48 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.4448, allocations: 40.91 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.4448, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.4449, allocations: 34.56 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.4449, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005701/0.4454, allocations: 129.5 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.4455, allocations: 55.34 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4456, allocations: 117.8 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.4456, allocations: 25.7 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.4457, allocations: 88.02 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4457, allocations: 11.95 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.4458, allocations: 9.719 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4459, allocations: 326.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4461, allocations: 31.97 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.4462, allocations: 31.95 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.4465, allocations: 64.8 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4465, allocations: 4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003305/0.4468, allocations: 105.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4469, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4469, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4469, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.447, allocations: 15.92 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.447, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.4471, allocations: 11.98 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4471, allocations: 4 kB / 1.33 GB, free: 13.95 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 0.0001042/0.4472, allocations: 122.3 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4472, allocations: 3.953 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.4473, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4473, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4473, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4473, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4475, allocations: 148.6 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4475, allocations: 0 / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.4476, allocations: 23.97 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4476, allocations: 336 / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4476, allocations: 0 / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4476, allocations: 0 / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4476, allocations: 0 / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.448, allocations: 203.3 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.448, allocations: 7.953 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.448, allocations: 3.984 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4481, allocations: 11.98 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.4482, allocations: 7.938 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.4482, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.4482, allocations: 91.27 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4482, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002133/0.4484, allocations: 8 kB / 1.331 GB, free: 13.24 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.0007141/0.4491, allocations: 0.7202 MB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.4495, allocations: 75.86 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4495, allocations: 3.938 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4497, allocations: 31.97 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.45, allocations: 9.859 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.4505, allocations: 151.2 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4508, allocations: 0.6846 MB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.4508, allocations: 4 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.4509, allocations: 11.44 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4509, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.4728, allocations: 1.777 MB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.74, allocations: 10.08 kB / 1.334 GB, free: 9.828 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.943606210988946]