Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.001493/0.001493, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001542/0.001542, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.988 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.391/3.391, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",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.002082/0.002082, allocations: 70.58 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4004, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001856/0.4023, allocations: 0.6764 MB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.4034, allocations: 0.8475 MB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.4035, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.4035, allocations: 3.938 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.4036, allocations: 11.98 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.4037, allocations: 11.92 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.4038, allocations: 20 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.4039, allocations: 3.984 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.404, allocations: 15.88 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.404, allocations: 11.98 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.404, allocations: 3.938 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.4041, allocations: 4 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.4041, allocations: 7.984 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.4041, allocations: 7.938 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.4042, allocations: 28.17 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4042, allocations: 8 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4042, allocations: 0 / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4042, allocations: 0 / 1.355 GB, free: 6.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004391/0.4047, allocations: 258.3 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4047, allocations: 12.03 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.4048, allocations: 34.75 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.4049, allocations: 4.875 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.405, allocations: 110.5 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.405, allocations: 384 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.405, allocations: 4.375 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.4052, allocations: 54.17 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4052, allocations: 3.938 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.4052, allocations: 0 / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4052, allocations: 4 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4054, allocations: 31.95 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.4057, allocations: 216.1 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4058, allocations: 42.48 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.4059, allocations: 24.91 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.4059, allocations: 3.938 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.406, allocations: 34.56 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.406, allocations: 4 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003592/0.4063, allocations: 81.64 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.4064, allocations: 51.41 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.4064, allocations: 93.86 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.4065, allocations: 33.69 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.4065, allocations: 84.14 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.4065, allocations: 12.02 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.4066, allocations: 13.72 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4067, allocations: 314.8 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.4068, allocations: 19.91 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.4069, allocations: 15.98 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.407, allocations: 40.89 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.407, allocations: 3.938 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.4072, allocations: 69.61 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4072, allocations: 4 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.4072, allocations: 0 / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4072, allocations: 0 / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.4073, allocations: 11.98 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4073, allocations: 4.031 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.4074, allocations: 4 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.4074, allocations: 0 / 1.356 GB, free: 4.906 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 (2): * Single equations (assignments): 2 * 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.0001123/0.4075, allocations: 129.6 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.4075, allocations: 3.938 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.4078, allocations: 64.97 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4078, allocations: 4.031 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4078, allocations: 7.938 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4078, allocations: 192 / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.4079, allocations: 132.7 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4079, allocations: 3.984 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.408, allocations: 7.984 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.408, allocations: 4 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.408, allocations: 4 kB / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.408, allocations: 0 / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.408, allocations: 0 / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.4083, allocations: 167.4 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-06/0.4083, allocations: 3.953 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4083, allocations: 3.984 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.4084, allocations: 8 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4084, allocations: 7.984 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.4084, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.4084, allocations: 83.31 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4084, allocations: 0 / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002204/0.4087, allocations: 4 kB / 1.357 GB, free: 4.207 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 (2): * Single equations (assignments): 2 * 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.0005734/0.4092, allocations: 0.694 MB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.4094, allocations: 35.95 kB / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4094, allocations: 0 / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.4095, allocations: 19.98 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.4098, allocations: 4 kB / 1.357 GB, free: 3.426 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.4103, allocations: 131.4 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4106, allocations: 0.6806 MB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.4106, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.4107, allocations: 11.44 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4107, allocations: 0 / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.4385, allocations: 1.401 MB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 2.062 kB / 1.36 GB, free: 1.262 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_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_Log10.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable log10_1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv. Warning: Get data of variable log10_1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.491522600999815]