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.001588/0.001588, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001742/0.001742, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.515/1.515, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.424/3.424, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002398/0.002398, allocations: 63.48 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3737, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002229/0.3759, allocations: 0.6555 MB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3771, allocations: 0.8475 MB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.3771, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.3771, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.3772, allocations: 11.92 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.3774, allocations: 8 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.3774, allocations: 27.91 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.3775, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.3776, allocations: 11.98 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.3776, allocations: 7.938 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3776, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.3777, allocations: 11.98 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3777, allocations: 0 / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.3777, allocations: 15.88 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.3778, allocations: 36.05 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.3778, allocations: 4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3779, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3779, allocations: 0 / 1.365 GB, free: 12.39 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.0005174/0.3784, allocations: 254.4 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3784, allocations: 12.03 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.3785, allocations: 34.73 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.3786, allocations: 4.891 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3787, allocations: 106.5 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3787, allocations: 4.375 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.3788, allocations: 4.375 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3789, allocations: 54.22 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.379, allocations: 3.938 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.379, allocations: 4 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.379, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.3791, allocations: 35.89 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.3795, allocations: 208.1 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.3797, allocations: 42.5 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.3798, allocations: 24.89 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3798, allocations: 0 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3798, allocations: 30.56 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3798, allocations: 4 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003772/0.3802, allocations: 81.58 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3802, allocations: 55.53 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.3803, allocations: 101.9 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3803, allocations: 25.7 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.3804, allocations: 88.08 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3804, allocations: 7.891 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.3805, allocations: 17.72 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3806, allocations: 310.8 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.3807, allocations: 19.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.3808, allocations: 15.97 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3809, allocations: 44.83 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3809, allocations: 7.875 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.3811, allocations: 65.66 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3811, allocations: 4 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3812, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3812, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.3813, allocations: 16.02 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3813, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.3813, allocations: 8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3813, allocations: 7.938 kB / 1.367 GB, free: 10.53 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 8.699e-05/0.3814, allocations: 113.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.3814, allocations: 4 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3817, allocations: 72.91 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3817, allocations: 4.031 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3817, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3817, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3818, allocations: 132.7 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3818, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.3819, allocations: 7.984 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3819, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3819, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3819, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3819, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3822, allocations: 171.3 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.3822, allocations: 0 / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3822, allocations: 4 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.3823, allocations: 7.984 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3823, allocations: 4 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3823, allocations: 0 / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.3824, allocations: 83.45 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002249/0.3826, allocations: 4 kB / 1.367 GB, free: 9.848 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.000628/0.3832, allocations: 0.6954 MB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3834, allocations: 39.91 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3834, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.3835, allocations: 16.08 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3838, allocations: 13.59 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.3843, allocations: 135.2 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.3844, allocations: 59.36 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.3844, allocations: 3.984 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3845, allocations: 7.438 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.3845, allocations: 0 / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.4158, allocations: 1.824 MB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.69, allocations: 10.31 kB / 1.37 GB, free: 7.098 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.70918573392555]