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.001235/0.001235, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001334/0.001334, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.166/3.166, allocations: 0.5003 GB / 0.8026 GB, free: 6.926 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",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.003411/0.003411, allocations: 67.91 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.163, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002026/1.165, allocations: 0.671 MB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001226/1.166, allocations: 0.8481 MB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/1.166, allocations: 1.062 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/1.166, allocations: 0 / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/1.166, allocations: 5.688 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/1.166, allocations: 16.7 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.822e-05/1.166, allocations: 28.09 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/1.166, allocations: 8.938 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/1.167, allocations: 8.078 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/1.167, allocations: 13.88 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/1.167, allocations: 2.375 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/1.167, allocations: 3.922 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/1.167, allocations: 6.281 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/1.167, allocations: 7.656 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/1.167, allocations: 31.86 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.167, allocations: 5.609 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/1.167, allocations: 3.938 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.167, allocations: 0 / 1.342 GB, free: 15.14 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005092/1.167, allocations: 341.4 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.167, allocations: 8.969 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.173e-05/1.167, allocations: 1.469 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/1.168, allocations: 31.36 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/1.168, allocations: 4.219 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.168, allocations: 171.3 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/1.168, allocations: 1.062 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/1.168, allocations: 1.562 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/1.168, allocations: 54.05 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.168, allocations: 0 / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/1.168, allocations: 0 / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/1.168, allocations: 3.938 kB / 1.342 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/1.168, allocations: 37.7 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/1.168, allocations: 250.3 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/1.169, allocations: 35.48 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/1.169, allocations: 23.78 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/1.169, allocations: 1.094 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/1.169, allocations: 39.11 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.169, allocations: 1.125 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000382/1.169, allocations: 79.72 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/1.169, allocations: 52.59 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/1.169, allocations: 96.33 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/1.169, allocations: 30.92 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/1.169, allocations: 86.02 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/1.169, allocations: 5.844 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/1.169, allocations: 12.78 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/1.169, allocations: 316.7 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.764e-05/1.169, allocations: 13.53 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/1.169, allocations: 18.16 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.17, allocations: 49.75 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.17, allocations: 0 / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/1.17, allocations: 67.62 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.17, allocations: 4.75 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.17, allocations: 5.125 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.17, allocations: 0.5625 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/1.17, allocations: 17.7 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.17, allocations: 0 / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/1.17, allocations: 5.422 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/1.17, allocations: 1.594 kB / 1.344 GB, free: 13.39 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 (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 5.177e-05/1.17, allocations: 115.8 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/1.17, allocations: 1.844 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/1.17, allocations: 75.53 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.17, allocations: 0 / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.17, allocations: 2.234 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.17, allocations: 192 / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/1.171, allocations: 158.5 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.171, allocations: 1.891 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/1.171, allocations: 12.8 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.171, allocations: 0 / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.171, allocations: 4.562 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.171, allocations: 1.469 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.171, allocations: 4.031 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/1.171, allocations: 162.2 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/1.171, allocations: 91.05 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/1.171, allocations: 2.297 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/1.171, allocations: 5.109 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/1.171, allocations: 10.8 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/1.171, allocations: 1.469 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.155e-05/1.171, allocations: 79.45 kB / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.171, allocations: 0 / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002165/1.171, allocations: 3.531 kB / 1.344 GB, free: 12.68 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 (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.0004638/1.172, allocations: 0.6993 MB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002365/1.172, allocations: 35.2 kB / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.172, allocations: 0 / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/1.172, allocations: 20.7 kB / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/1.172, allocations: 7.562 kB / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/1.173, allocations: 133.4 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/1.173, allocations: 0.6759 MB / 1.346 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.499e-05/1.173, allocations: 1.984 kB / 1.346 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/1.173, allocations: 17.36 kB / 1.346 GB, free: 11.14 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.173, allocations: 0 / 1.346 GB, free: 11.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/1.192, allocations: 1.329 MB / 1.347 GB, free: 10.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.783, allocations: 12.8 kB / 1.347 GB, free: 10.74 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.726021210022736]